Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21989, comment 4


Ignore:
Timestamp:
06/09/2013 12:49:27 AM (11 years ago)
Author:
totels
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21989, comment 4

    initial v1  
    33
    44{{{
    5 diff --git a/wp-includes/option.php b/wp-includes/option.php
     5diff --git wp-includes/option.php wp-includes/option.php
    66index 722d1f3..4df07d8 100644
    7 --- a/wp-includes/option.php
    8 +++ b/wp-includes/option.php
     7--- wp-includes/option.php
     8+++ wp-includes/option.php
    99@@ -224,17 +224,18 @@ function update_option( $option, $newvalue ) {
    1010        if ( is_object($newvalue) )
     
    2929        $notoptions = wp_cache_get( 'notoptions', 'options' );
    3030        if ( is_array( $notoptions ) && isset( $notoptions[$option] ) ) {
    31                 unset( $notoptions[$option] );
    32 }}}
     31                unset( $notoptions[$option] );}}}