diff --git src/wp-admin/includes/class-wp-debug-data.php src/wp-admin/includes/class-wp-debug-data.php
index 40c4f5d13f..0156581eb1 100644
|
|
class WP_Debug_Data { |
695 | 695 | 'debug' => $imagick_loaded, |
696 | 696 | ); |
697 | 697 | |
| 698 | // Pretty permalinks. |
| 699 | $pretty_permalinks_available = got_url_rewrite(); |
| 700 | |
| 701 | $info['wp-server']['fields']['pretty_permalinks_availability'] = array( |
| 702 | 'label' => __( 'Pretty permalinks support' ), |
| 703 | 'value' => ( $pretty_permalinks_available ? __( 'Yes' ) : __( 'No' ) ), |
| 704 | 'debug' => $pretty_permalinks_available, |
| 705 | ); |
| 706 | |
698 | 707 | // Check if a .htaccess file exists. |
699 | 708 | if ( is_file( ABSPATH . '.htaccess' ) ) { |
700 | 709 | // If the file exists, grab the content of it. |