WordPress.org

Make WordPress Core

Ticket #21567: wp-settings.diff

File wp-settings.diff, 533 bytes (added by bilalcoder, 6 years ago)
  • wp-settings

    old new  
    5555wp_debug_mode();
    5656
    5757// For an advanced caching plugin to use. Uses a static drop-in because you would only want one.
    58 if ( WP_CACHE )
    59         WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
    60 
     58if ( WP_CACHE && WP_DEBUG ) {
     59        @include( WP_CONTENT_DIR . '/advanced-cache.php' );
     60}
    6161// Define WP_LANG_DIR if not set.
    6262wp_set_lang_dir();
    6363