mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user