WordPress.org

Make WordPress Core

Changeset 13439


Ignore:
Timestamp:
02/26/2010 07:26:51 PM (8 years ago)
Author:
nacin
Message:

Small fix to [13433], see #10788

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r13433 r13439  
    34483448        $_value = $value;
    34493449        $value = maybe_serialize($value);
    3450 
    34513450        $result = $wpdb->insert( $wpdb->sitemeta, array('site_id' => $wpdb->siteid, 'meta_key' => $option, 'meta_value' => $value ) );
    3452     }
    3453 
    3454     do_action( "add_site_option_{$option}", $option, $_value );
    3455     do_action( "add_site_option", $option, $_value );
     3451        $value = $_value;
     3452    }
     3453
     3454    do_action( "add_site_option_{$option}", $option, $value );
     3455    do_action( "add_site_option", $option, $value );
    34563456
    34573457    return $result;
Note: See TracChangeset for help on using the changeset viewer.