Allow plugins to sanitize there own options easily.

git-svn-id: https://develop.svn.wordpress.org/trunk@6096 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2007-09-12 18:15:29 +00:00
parent 41bd579f15
commit 2c1f68efe3
1 changed files with 1 additions and 0 deletions

View File

@ -1194,6 +1194,7 @@ function sanitize_option($option, $value) { // Remember to call stripslashes!
$value = clean_url($value);
break;
default :
$value = apply_filters("sanitize_option_{$option}", $value, $option);
break;
}