File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,8 @@ function sqlite_plugin_adminbar_item( $admin_bar ) {
130130 global $ wpdb ;
131131
132132 if ( defined ( 'SQLITE_DB_DROPIN_VERSION ' ) && defined ( 'DB_ENGINE ' ) && 'sqlite ' === DB_ENGINE ) {
133- $ title = '<span style="color:#46B450;"> ' . __ ( 'Database: SQLite ' , 'sqlite-database-integration ' ) . '</span> ' ;
133+ $ suffix = defined ( 'WP_SQLITE_AST_DRIVER ' ) && WP_SQLITE_AST_DRIVER ? ' (AST) ' : '' ;
134+ $ title = '<span style="color:#46B450;"> ' . __ ( 'Database: SQLite ' , 'sqlite-database-integration ' ) . $ suffix . '</span> ' ;
134135 } elseif ( stripos ( $ wpdb ->db_server_info (), 'maria ' ) !== false ) {
135136 $ title = '<span style="color:#DC3232;"> ' . __ ( 'Database: MariaDB ' , 'sqlite-database-integration ' ) . '</span> ' ;
136137 } else {
You can’t perform that action at this time.
0 commit comments