Ticket #26199: 26199.3.diff
File 26199.3.diff, 772 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/formatting.php
3264 3264 * @return string Sanitized value. 3265 3265 */ 3266 3266 function sanitize_option($option, $value) { 3267 $original_value = $value; 3267 3268 3268 3269 switch ( $option ) { 3269 3270 case 'admin_email' : … … 3446 3447 * 3447 3448 * @param string $value The sanitized option value. 3448 3449 * @param string $option The option name. 3449 */ 3450 $value = apply_filters( "sanitize_option_{$option}", $value, $option ); 3450 * @param string $original_value The original value. 3451 */ 3452 $value = apply_filters("sanitize_option_{$option}", $value, $option, $original_value); 3451 3453 3452 3454 return $value; 3453 3455 }