WordPress.org

Make WordPress Core

Ticket #4192: require_once_object_cache.diff

File require_once_object_cache.diff, 521 bytes (added by masquerade, 11 years ago)
  • wp-settings.php

     
    123123        $wpdb->usermeta = CUSTOM_USER_META_TABLE;
    124124
    125125if ( file_exists(ABSPATH . 'wp-content/object-cache.php') )
    126         require (ABSPATH . 'wp-content/object-cache.php');
     126        require_once (ABSPATH . 'wp-content/object-cache.php');
    127127else
    128         require (ABSPATH . WPINC . '/cache.php');
     128        require_once (ABSPATH . WPINC . '/cache.php');
    129129
    130130wp_cache_init();
    131131