We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50d0bd2 commit bbe6470Copy full SHA for bbe6470
admin-page.php
@@ -130,7 +130,8 @@ function sqlite_plugin_adminbar_item( $admin_bar ) {
130
global $wpdb;
131
132
if ( defined( 'SQLITE_DB_DROPIN_VERSION' ) && defined( 'DB_ENGINE' ) && 'sqlite' === DB_ENGINE ) {
133
- $title = '<span style="color:#46B450;">' . __( 'Database: SQLite', 'sqlite-database-integration' ) . '</span>';
+ $suffix = defined( 'WP_SQLITE_AST_DRIVER' ) && WP_SQLITE_AST_DRIVER ? ' (AST)' : '';
134
+ $title = '<span style="color:#46B450;">' . __( 'Database: SQLite', 'sqlite-database-integration' ) . $suffix . '</span>';
135
} elseif ( stripos( $wpdb->db_server_info(), 'maria' ) !== false ) {
136
$title = '<span style="color:#DC3232;">' . __( 'Database: MariaDB', 'sqlite-database-integration' ) . '</span>';
137
} else {
0 commit comments