Changeset 45078
- Timestamp:
- 04/01/2019 12:09:09 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r45044 r45078 157 157 'wp-constants' => array( 158 158 'label' => __( 'WordPress Constants' ), 159 'description' => __( 'These settings a re defined in your wp-config.php file, and alter where and how parts of WordPress are loaded.' ),159 'description' => __( 'These settings alter where and how parts of WordPress are loaded.' ), 160 160 'fields' => array( 161 161 'ABSPATH' => array( 162 162 'label' => 'ABSPATH', 163 'value' => ( ! defined( 'ABSPATH' ) ? __( 'Undefined' ) : ABSPATH ),163 'value' => ABSPATH, 164 164 'private' => true, 165 165 ), … … 174 174 'WP_CONTENT_DIR' => array( 175 175 'label' => 'WP_CONTENT_DIR', 176 'value' => ( ! defined( 'WP_CONTENT_DIR' ) ? __( 'Undefined' ) : WP_CONTENT_DIR ),176 'value' => WP_CONTENT_DIR, 177 177 ), 178 178 'WP_PLUGIN_DIR' => array( 179 179 'label' => 'WP_PLUGIN_DIR', 180 'value' => ( ! defined( 'WP_PLUGIN_DIR' ) ? __( 'Undefined' ) : WP_PLUGIN_DIR ),180 'value' => WP_PLUGIN_DIR, 181 181 ), 182 182 'WP_DEBUG' => array( 183 183 'label' => 'WP_DEBUG', 184 'value' => ( ! defined( 'WP_DEBUG' ) ? __( 'Undefined' ) : ( WP_DEBUG ? __( 'Enabled' ) : __( 'Disabled' ) )),184 'value' => WP_DEBUG ? __( 'Enabled' ) : __( 'Disabled' ), 185 185 ), 186 186 'WP_MAX_MEMORY_LIMIT' => array( 187 187 'label' => 'WP_MAX_MEMORY_LIMIT', 188 'value' => ( ! defined( 'WP_MAX_MEMORY_LIMIT' ) ? __( 'Undefined' ) : WP_MAX_MEMORY_LIMIT ),188 'value' => WP_MAX_MEMORY_LIMIT, 189 189 ), 190 190 'WP_DEBUG_DISPLAY' => array( 191 191 'label' => 'WP_DEBUG_DISPLAY', 192 'value' => ( ! defined( 'WP_DEBUG_DISPLAY' ) ? __( 'Undefined' ) : ( WP_DEBUG_DISPLAY ? __( 'Enabled' ) : __( 'Disabled' ) )),192 'value' => WP_DEBUG_DISPLAY ? __( 'Enabled' ) : __( 'Disabled' ), 193 193 ), 194 194 'WP_DEBUG_LOG' => array( … … 198 198 'SCRIPT_DEBUG' => array( 199 199 'label' => 'SCRIPT_DEBUG', 200 'value' => ( ! defined( 'SCRIPT_DEBUG' ) ? __( 'Undefined' ) : ( SCRIPT_DEBUG ? __( 'Enabled' ) : __( 'Disabled' ) )),200 'value' => SCRIPT_DEBUG ? __( 'Enabled' ) : __( 'Disabled' ), 201 201 ), 202 202 'WP_CACHE' => array( 203 203 'label' => 'WP_CACHE', 204 'value' => ( ! defined( 'WP_CACHE' ) ? __( 'Undefined' ) : ( WP_CACHE ? __( 'Enabled' ) : __( 'Disabled' ) )),204 'value' => WP_CACHE ? __( 'Enabled' ) : __( 'Disabled' ), 205 205 ), 206 206 'CONCATENATE_SCRIPTS' => array(
Note: See TracChangeset
for help on using the changeset viewer.