File tree 1 file changed +13
-13
lines changed
1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -58,25 +58,25 @@ function sqlite_integration_admin_screen() {
58
58
<?php elseif ( file_exists ( WP_CONTENT_DIR . '/db.php ' ) && ! defined ( 'SQLITE_DB_DROPIN_VERSION ' ) ) : ?>
59
59
<?php if ( defined ( 'PERFLAB_SQLITE_DB_DROPIN_VERSION ' ) ) : ?>
60
60
<div class="notice notice-warning">
61
- <p>
61
+ <p>
62
+ <?php
63
+ printf (
64
+ /* translators: %s: db.php drop-in path */
65
+ esc_html__ ( 'An older %s file was detected. Please click the button below to update the file. ' , 'sqlite-database-integration ' ),
66
+ '<code> ' . esc_html ( basename ( WP_CONTENT_DIR ) ) . '/db.php</code> '
67
+ );
68
+ ?>
69
+ </p>
70
+ </div>
71
+ <a class="button button-primary" href="<?php echo esc_url ( wp_nonce_url ( admin_url ( 'admin.php?page=sqlite-integration&confirm-install&upgrade-from-pl ' ), 'sqlite-install ' ) ); ?> ">
62
72
<?php
63
73
printf (
64
74
/* translators: %s: db.php drop-in path */
65
- esc_html__ ( 'An older %s file was detected. Please click the button below to update the file. ' , 'sqlite-database-integration ' ),
75
+ esc_html__ ( 'Update %s file ' , 'sqlite-database-integration ' ),
66
76
'<code> ' . esc_html ( basename ( WP_CONTENT_DIR ) ) . '/db.php</code> '
67
77
);
68
78
?>
69
- </p>
70
- </div>
71
- <a class="button button-primary" href="<?php echo esc_url ( wp_nonce_url ( admin_url ( 'admin.php?page=sqlite-integration&confirm-install&upgrade-from-pl ' ), 'sqlite-install ' ) ); ?> ">
72
- <?php
73
- printf (
74
- /* translators: %s: db.php drop-in path */
75
- esc_html__ ( 'Update %s file ' , 'sqlite-database-integration ' ),
76
- '<code> ' . esc_html ( basename ( WP_CONTENT_DIR ) ) . '/db.php</code> '
77
- );
78
- ?>
79
- </a>
79
+ </a>
80
80
<?php else : ?>
81
81
<div class="notice notice-error">
82
82
<p>
You can’t perform that action at this time.
0 commit comments