From 2c1f68efe3adf43d8c81444c37c7947fce69933d Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Wed, 12 Sep 2007 18:15:29 +0000 Subject: [PATCH] Allow plugins to sanitize there own options easily. git-svn-id: https://develop.svn.wordpress.org/trunk@6096 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/formatting.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index ebcd80610d..1b6b7feb97 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -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; }