Allow plugins to sanitize there own options easily.

git-svn-id: http://svn.automattic.com/wordpress/trunk@6096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2007-09-12 18:15:29 +00:00
parent 223182463d
commit d1acf020b5
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;
}