Changeset 32520
- Timestamp:
- 05/21/2015 05:59:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r32482 r32520 3329 3329 global $wpdb; 3330 3330 3331 $original_value = $value; 3332 3331 3333 switch ( $option ) { 3332 3334 case 'admin_email' : … … 3516 3518 * 3517 3519 * @since 2.3.0 3518 * 3519 * @param string $value The sanitized option value. 3520 * @param string $option The option name. 3520 * @since 4.3.0 Added the `$original_value` parameter. 3521 * 3522 * @param string $value The sanitized option value. 3523 * @param string $option The option name. 3524 * @param string $original_value The original value passed to the function. 3521 3525 */ 3522 $value = apply_filters( "sanitize_option_{$option}", $value, $option );3526 $value = apply_filters( "sanitize_option_{$option}", $value, $option, $original_value ); 3523 3527 3524 3528 return $value;
Note: See TracChangeset
for help on using the changeset viewer.