Make WordPress Core

Ticket #43917: activate_cache_headers.patch

File activate_cache_headers.patch, 301 bytes (added by herregroen, 6 years ago)
  • src/wp-activate.php

    diff --git src/wp-activate.php src/wp-activate.php
    index 78feda6a10..dc3a0d42f5 100644
    if ( ! is_multisite() ) { 
    1818        die();
    1919}
    2020
     21nocache_headers();
     22
    2123if ( is_object( $wp_object_cache ) ) {
    2224        $wp_object_cache->cache_enabled = false;
    2325}