Make WordPress Core

Ticket #22846: 22846.diff

File 22846.diff, 432 bytes (added by thomaswm, 8 years ago)

Don't autoload network options

  • wp-includes/option.php

     
    12231223        $notoptions_key = "$network_id:notoptions";
    12241224
    12251225        if ( ! is_multisite() ) {
    1226                 $result = add_option( $option, $value );
     1226                $result = add_option( $option, $value, '', 'no' );
    12271227        } else {
    12281228                $cache_key = "$network_id:$option";
    12291229