- Timestamp:
- 08/16/2020 06:25:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r48801 r48802 40 40 $permalink_structure = get_option( 'permalink_structure' ); 41 41 $is_ssl = is_ssl(); 42 $is_multisite = is_multisite(); 42 43 $users_can_register = get_option( 'users_can_register' ); 43 44 $blog_public = get_option( 'blog_public' ); 44 45 $default_comment_status = get_option( 'default_comment_status' ); 45 $ is_multisite = is_multisite();46 $environment_type = wp_get_environment_type(); 46 47 $core_version = get_bloginfo( 'version' ); 47 48 $core_updates = get_core_updates(); … … 100 101 'debug' => $is_ssl, 101 102 ), 103 'multisite' => array( 104 'label' => __( 'Is this a multisite?' ), 105 'value' => $is_multisite ? __( 'Yes' ) : __( 'No' ), 106 'debug' => $is_multisite, 107 ), 102 108 'user_registration' => array( 103 109 'label' => __( 'Can anyone register on this site?' ), … … 115 121 'debug' => $default_comment_status, 116 122 ), 117 ' multisite'=> array(118 'label' => __( ' Is this a multisite?' ),119 'value' => $ is_multisite ? __( 'Yes' ) : __( 'No' ),120 'debug' => $ is_multisite,123 'environment_type' => array( 124 'label' => __( 'Environment type' ), 125 'value' => $environment_type, 126 'debug' => $environment_type, 121 127 ), 122 128 ),
Note: See TracChangeset
for help on using the changeset viewer.