You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: admin-page.php
+47-31Lines changed: 47 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -33,43 +33,59 @@ function sqlite_integration_admin_screen() {
33
33
</div>
34
34
<!-- Set the wrapper width to 50em, to improve readability. -->
35
35
<div style="max-width:50em;">
36
-
<?phpif ( ! class_exists( 'SQLite3' ) ) : ?>
37
-
<div class="notice notice-error">
38
-
<p><?phpesc_html_e( 'We detected that the SQLite3 class is missing from your server. Please make sure that SQLite is enabled in your PHP installation before proceeding.', 'sqlite' ); ?></p>
esc_html__( 'The SQLite plugin cannot be activated because a different %s drop-in already exists.', 'sqlite' ),
43
+
/* translators: 1: Admin URL to deactivate the module, 2: db.php drop-in path, */
44
+
__( 'The SQLite drop-in is enabled. To disable it and get back to your previous, MySQL database, you can <a href="%1$s">deactivate the plugin</a>. Alternatively, you can manually delete the %2$s file from your server.', 'sqlite' ),
<p><?phpesc_html_e( 'All checks completed successfully, your site can use an SQLite database. You can proceed with the installation.', 'sqlite' ); ?></p>
<p><?phpesc_html_e( 'This plugin will switch to a separate database and install WordPress in it. You will need to reconfigure your site, and start with a fresh site. Disabling the plugin you will get back to your previous MySQL database, with all your previous data intact.', 'sqlite' ); ?></p>
70
-
<p><?phpesc_html_e( 'By clicking the button below, you will be redirected to the WordPress installation screen to setup your new database', 'sqlite' ); ?></p>
51
+
<?phpif ( ! class_exists( 'SQLite3' ) ) : ?>
52
+
<div class="notice notice-error">
53
+
<p><?phpesc_html_e( 'We detected that the SQLite3 class is missing from your server. Please make sure that SQLite is enabled in your PHP installation before proceeding.', 'sqlite' ); ?></p>
<p><?phpesc_html_e( 'All checks completed successfully, your site can use an SQLite database. You can proceed with the installation.', 'sqlite' ); ?></p>
<p><?phpesc_html_e( 'This plugin will switch to a separate database and install WordPress in it. You will need to reconfigure your site, and start with a fresh site. Disabling the plugin you will get back to your previous MySQL database, with all your previous data intact.', 'sqlite' ); ?></p>
85
+
<p><?phpesc_html_e( 'By clicking the button below, you will be redirected to the WordPress installation screen to setup your new database', 'sqlite' ); ?></p>
0 commit comments