Skip to content

Commit 915df6f

Browse files
committed
indentation fix
1 parent f237134 commit 915df6f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

admin-page.php

+13-13
Original file line numberDiff line numberDiff line change
@@ -58,25 +58,25 @@ function sqlite_integration_admin_screen() {
5858
<?php elseif ( file_exists( WP_CONTENT_DIR . '/db.php' ) && ! defined( 'SQLITE_DB_DROPIN_VERSION' ) ) : ?>
5959
<?php if ( defined( 'PERFLAB_SQLITE_DB_DROPIN_VERSION' ) ) : ?>
6060
<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' ) ); ?>">
6272
<?php
6373
printf(
6474
/* 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' ),
6676
'<code>' . esc_html( basename( WP_CONTENT_DIR ) ) . '/db.php</code>'
6777
);
6878
?>
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>
8080
<?php else : ?>
8181
<div class="notice notice-error">
8282
<p>

0 commit comments

Comments
 (0)