Changeset 59147
- Timestamp:
- 10/01/2024 01:10:38 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r59104 r59147 1339 1339 } 1340 1340 1341 // Check DB_COLLATE. 1342 if ( defined( 'DB_COLLATE' ) && DB_COLLATE ) { 1343 $wp_db_collate = DB_COLLATE; 1344 } elseif ( defined( 'DB_COLLATE' ) && empty( DB_COLLATE ) ) { 1345 $wp_db_collate = __( 'Defined, but empty' ); 1346 } else { 1347 $wp_db_collate = __( 'Undefined' ); 1348 } 1349 1341 1350 $fields = array( 1342 1351 'ABSPATH' => array( … … 1428 1437 'DB_COLLATE' => array( 1429 1438 'label' => 'DB_COLLATE', 1430 'value' => ( defined( 'DB_COLLATE' ) ? DB_COLLATE : __( 'Undefined' ) ),1431 'debug' => ( defined( 'DB_COLLATE' ) ? DB_COLLATE : 'undefined' ),1439 'value' => $wp_db_collate, 1440 'debug' => $wp_db_collate, 1432 1441 ), 1433 1442 );
Note: See TracChangeset
for help on using the changeset viewer.