mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Include tags in feeds. fixes #4537
git-svn-id: https://develop.svn.wordpress.org/trunk@5979 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -594,7 +594,10 @@ function sanitize_term_field($field, $value, $term_id, $taxonomy, $context) {
|
||||
$value = attribute_escape($value);
|
||||
} else if ( 'db' == $context ) {
|
||||
$value = apply_filters("pre_term_$field", $value, $taxonomy);
|
||||
$value = apply_filters("pre_${taxonomy}_$field", $value);
|
||||
$value = apply_filters("pre_${taxonomy}_$field", $value);
|
||||
} else if ( 'rss' == $context ) {
|
||||
$value = apply_filters("term_${field}_rss", $value, $taxonomy);
|
||||
$value = apply_filters("${taxonomy}_$field_rss", $value);
|
||||
} else {
|
||||
// Use display filters by default.
|
||||
$value = apply_filters("term_$field", $value, $term_id, $taxonomy, $context);
|
||||
|
||||
Reference in New Issue
Block a user