Making WordPress.org


Ignore:
Timestamp:
01/25/2019 06:52:27 AM (6 years ago)
Author:
iandunn
Message:

WordCamp Misc: Ignore known Super Cache no such file errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wcorg-misc.php

    r8137 r8143  
    482482    }
    483483
    484     // Always use the ABSPATH constant in the keys here to avoid path disclosure.
     484    // Always use constants in the keys here to avoid path disclosure.
    485485    $error_ignorelist = [
    486486        // See https://core.trac.wordpress.org/ticket/29204
    487487        ABSPATH . 'wp-includes/SimplePie/Registry.php:215' => 'Non-static method WP_Feed_Cache::create() should not be called statically',
     488
     489        // It seems like WPSC shouldn't assume that these files/folders always exist, and should check first instead.
     490        WP_CONTENT_DIR . '/plugins/wp-super-cache/wp-cache-phase2.php:2359' => 'failed to open dir: No such file or directory',
     491        WP_CONTENT_DIR . '/plugins/wp-super-cache/wp-cache-phase2.php:2901' => 'failed to open dir: No such file or directory',
     492        WP_CONTENT_DIR . '/plugins/wp-super-cache/wp-cache-phase2.php:3033' => 'No such file or directory',
    488493    ];
    489494
Note: See TracChangeset for help on using the changeset viewer.