Make WordPress Core

Ticket #13185: 13185.diff

File 13185.diff, 552 bytes (added by sivel, 15 years ago)

Remove the suppression and check for existence of file

  • wp-settings.php

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