Ticket #26199: 26199.2.diff
File 26199.2.diff, 772 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/formatting.php
3186 3186 * @return string Sanitized value. 3187 3187 */ 3188 3188 function sanitize_option($option, $value) { 3189 $original_value = $value; 3189 3190 3190 3191 switch ( $option ) { 3191 3192 case 'admin_email' : … … 3364 3365 * 3365 3366 * @param string $value The sanitized option value. 3366 3367 * @param string $option The option name. 3367 */ 3368 $value = apply_filters( "sanitize_option_{$option}", $value, $option ); 3368 * @param string $original_value The original value. 3369 */ 3370 $value = apply_filters("sanitize_option_{$option}", $value, $option, $original_value); 3369 3371 3370 3372 return $value; 3371 3373 }