Changeset 14777
- Timestamp:
- 05/21/2010 02:15:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r14680 r14777 487 487 wp_protect_special_option( $option ); 488 488 489 if ( is_object($newvalue) ) 490 $newvalue = wp_clone($newvalue); 491 489 492 $newvalue = sanitize_option( $option, $newvalue ); 490 493 $oldvalue = get_option( $option ); … … 566 569 567 570 wp_protect_special_option( $option ); 571 572 if ( is_object($value) ) 573 $value = wp_clone($value); 574 568 575 $value = sanitize_option( $option, $value ); 569 576
Note: See TracChangeset
for help on using the changeset viewer.