Post filter rework. see #4546

git-svn-id: https://develop.svn.wordpress.org/trunk@5796 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-07-11 19:57:43 +00:00
parent 701989a76d
commit 9fe6a868ca
4 changed files with 103 additions and 34 deletions
-2
View File
@@ -439,8 +439,6 @@ function sanitize_term_field($field, $value, $term_id, $taxonomy, $context) {
$value = apply_filters("${taxonomy}_$field", $value, $term_id, $context);
}
// TODO: attribute is usually done in an edit context, so display filters probably
// not appropriate.
if ( 'attribute' == $context )
$value = attribute_escape($value);
else if ( 'js' == $context )