Changeset 13508
- Timestamp:
- 02/28/2010 07:32:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r13439 r13508 513 513 $newvalue = maybe_serialize( $newvalue ); 514 514 515 do_action( 'update_option', $option, $oldvalue, $ newvalue ); // $newvalue may be serialized.515 do_action( 'update_option', $option, $oldvalue, $_newvalue ); 516 516 if ( ! defined( 'WP_INSTALLING' ) ) { 517 517 $alloptions = wp_load_alloptions(); … … 580 580 $value = maybe_serialize( $value ); 581 581 $autoload = ( 'no' === $autoload ) ? 'no' : 'yes'; 582 do_action( 'add_option', $option, $ value );582 do_action( 'add_option', $option, $_value ); 583 583 if ( ! defined( 'WP_INSTALLING' ) ) { 584 584 if ( 'yes' == $autoload ) {
Note: See TracChangeset
for help on using the changeset viewer.