Changeset 56509 for trunk/src/wp-admin/includes/class-wp-debug-data.php
- Timestamp:
- 09/02/2023 06:34:59 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r56475 r56509 549 549 } else { 550 550 // Get the PHP ini directive values. 551 $file_uploads = ini_get( 'file_uploads' ); 551 552 $post_max_size = ini_get( 'post_max_size' ); 552 553 $upload_max_filesize = ini_get( 'upload_max_filesize' ); … … 557 558 $info['wp-media']['fields']['file_uploads'] = array( 558 559 'label' => __( 'File uploads' ), 559 'value' => empty( ini_get( 'file_uploads' ) ) ? __( 'Disabled' ) : __( 'Enabled' ),560 'debug' => 'File uploads is turned off',560 'value' => $file_uploads ? __( 'Enabled' ) : __( 'Disabled' ), 561 'debug' => $file_uploads, 561 562 ); 562 563 $info['wp-media']['fields']['post_max_size'] = array(
Note: See TracChangeset
for help on using the changeset viewer.