Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed visibility #7482

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/wp-admin/includes/class-wp-debug-data.php
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ public static function debug_data() {
*
* @return array
*/
public static function get_wp_dropins(): array {
private static function get_wp_dropins(): array {
// Get a list of all drop-in replacements.
$dropins = get_dropins();

Expand Down Expand Up @@ -857,7 +857,7 @@ public static function get_wp_dropins(): array {
*
* @return array
*/
public static function get_wp_server(): array {
private static function get_wp_server(): array {
// Populate the server debug fields.
if ( function_exists( 'php_uname' ) ) {
$server_architecture = sprintf( '%s %s %s', php_uname( 's' ), php_uname( 'r' ), php_uname( 'm' ) );
Expand Down Expand Up @@ -1050,7 +1050,7 @@ public static function get_wp_server(): array {
* @throws ImagickException
* @return array
*/
public static function get_wp_media(): array {
private static function get_wp_media(): array {
// Spare few function calls.
$not_available = __( 'Not available' );

Expand Down Expand Up @@ -1244,7 +1244,7 @@ public static function get_wp_media(): array {
*
* @return array
*/
public static function get_wp_mu_plugins(): array {
private static function get_wp_mu_plugins(): array {
// List must use plugins if there are any.
$mu_plugins = get_mu_plugins();
$fields = array();
Expand Down Expand Up @@ -1295,7 +1295,7 @@ public static function get_wp_mu_plugins(): array {
*
* @return array
*/
public static function get_wp_constants(): array {
private static function get_wp_constants(): array {
// Check if WP_DEBUG_LOG is set.
$wp_debug_log_value = __( 'Disabled' );
if ( is_string( WP_DEBUG_LOG ) ) {
Expand Down Expand Up @@ -1459,7 +1459,7 @@ public static function get_wp_constants(): array {
*
* @return array
*/
public static function get_wp_database(): array {
private static function get_wp_database(): array {
global $wpdb;

// Populate the database debug fields.
Expand Down
Loading