Skip to content

Commit

Permalink
Refactoring - wp-core
Browse files Browse the repository at this point in the history
Replaced $is_multisite with is_multisite()
  • Loading branch information
apermo committed Sep 23, 2024
1 parent b22b263 commit bfb1cc9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/wp-admin/includes/class-wp-debug-data.php
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,13 @@ public static function debug_data() {
return $info;
}

/**
* Gets the WordPress core section of the debug data.
*
* @since 6.7.0
*
* @return array
*/
public static function get_wp_core(): array {
// Save few function calls.
$permalink_structure = get_option( 'permalink_structure' );
Expand Down

0 comments on commit bfb1cc9

Please sign in to comment.