Changeset 25925
- Timestamp:
- 10/26/2013 02:56:24 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r25664 r25925 237 237 $serialized_value = maybe_serialize( $value ); 238 238 239 do_action( 'update_option', $option, $old_value, $value ); 239 240 $result = $wpdb->update( $wpdb->options, array( 'option_value' => $serialized_value ), array( 'option_name' => $option ) ); 240 241 if ( ! $result ) … … 247 248 } 248 249 249 do_action( 'update_option', $option, $old_value, $value );250 250 if ( ! defined( 'WP_INSTALLING' ) ) { 251 251 $alloptions = wp_load_alloptions();
Note: See TracChangeset
for help on using the changeset viewer.