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