Changeset 8247
- Timestamp:
- 07/03/2008 03:51:53 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r8216 r8247 491 491 $newvalue = sanitize_option( $option_name, $newvalue ); 492 492 493 $oldvalue = get_option( $safe_option_name ); 494 495 $newvalue = apply_filters( 'pre_update_option_' . $option_name, $newvalue, $oldvalue ); 496 493 497 // If the new and old values are the same, no need to update. 494 $oldvalue = get_option( $safe_option_name );495 498 if ( $newvalue === $oldvalue ) 496 499 return false;
Note: See TracChangeset
for help on using the changeset viewer.