s/attribute_escape/attr/. see #9650

git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-04-28 05:58:45 +00:00
parent 6c066a90d8
commit fe7c34b6fd
84 changed files with 391 additions and 391 deletions

View File

@@ -869,7 +869,7 @@ function sanitize_post_field($field, $value, $post_id, $context) {
else
$value = format_to_edit($value);
} else {
$value = attribute_escape($value);
$value = attr($value);
}
} else if ( 'db' == $context ) {
if ( $prefixed ) {
@@ -888,7 +888,7 @@ function sanitize_post_field($field, $value, $post_id, $context) {
}
if ( 'attribute' == $context )
$value = attribute_escape($value);
$value = attr($value);
else if ( 'js' == $context )
$value = js_escape($value);