mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
bookmark sanitizer funcs and default filter cleanup. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5906 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -477,7 +477,10 @@ function sanitize_post_field($field, $value, $post_id, $context) {
|
||||
}
|
||||
} else {
|
||||
// Use display filters by default.
|
||||
$value = apply_filters("post_$field", $value, $post_id, $context);
|
||||
if ( $prefixed )
|
||||
$value = apply_filters($field, $value, $post_id, $context);
|
||||
else
|
||||
$value = apply_filters("post_$field", $value, $post_id, $context);
|
||||
}
|
||||
|
||||
if ( 'attribute' == $context )
|
||||
|
||||
Reference in New Issue
Block a user