Changeset 59164
- Timestamp:
- 10/04/2024 12:09:11 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r59159 r59164 823 823 * @return array 824 824 */ 825 p ublicstatic function get_wp_dropins(): array {825 private static function get_wp_dropins(): array { 826 826 // Get a list of all drop-in replacements. 827 827 $dropins = get_dropins(); … … 858 858 * @return array 859 859 */ 860 p ublicstatic function get_wp_server(): array {860 private static function get_wp_server(): array { 861 861 // Populate the server debug fields. 862 862 if ( function_exists( 'php_uname' ) ) { … … 1051 1051 * @return array 1052 1052 */ 1053 p ublicstatic function get_wp_media(): array {1053 private static function get_wp_media(): array { 1054 1054 // Spare few function calls. 1055 1055 $not_available = __( 'Not available' ); … … 1245 1245 * @return array 1246 1246 */ 1247 p ublicstatic function get_wp_mu_plugins(): array {1247 private static function get_wp_mu_plugins(): array { 1248 1248 // List must use plugins if there are any. 1249 1249 $mu_plugins = get_mu_plugins(); … … 1296 1296 * @return array 1297 1297 */ 1298 p ublicstatic function get_wp_constants(): array {1298 private static function get_wp_constants(): array { 1299 1299 // Check if WP_DEBUG_LOG is set. 1300 1300 $wp_debug_log_value = __( 'Disabled' ); … … 1460 1460 * @return array 1461 1461 */ 1462 p ublicstatic function get_wp_database(): array {1462 private static function get_wp_database(): array { 1463 1463 global $wpdb; 1464 1464
Note: See TracChangeset
for help on using the changeset viewer.