Skip to content

Commit

Permalink
CS fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jan 4, 2024
1 parent e5dd366 commit d223d9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/wp-admin/includes/class-wp-debug-data.php
Original file line number Diff line number Diff line change
Expand Up @@ -863,10 +863,10 @@ public static function debug_data() {
$db_engine = defined( 'DB_ENGINE' ) && 'sqlite' === DB_ENGINE ? 'sqlite' : 'mysql';
$extension = null;
if ( 'mysql' === $database_type ) {
// Populate the database debug fields.
if ( is_object( $wpdb->dbh ) ) {
// mysqli or PDO.
$extension = get_class( $wpdb->dbh );
// Populate the database debug fields.
if ( is_object( $wpdb->dbh ) ) {
// mysqli or PDO.
$extension = get_class( $wpdb->dbh );
}
}

Expand Down

0 comments on commit d223d9e

Please sign in to comment.