mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -474,7 +474,7 @@ case 'add-cat' : // From Manage->Categories
|
||||
$cat_full_name = $_cat->name . ' — ' . $cat_full_name;
|
||||
$level++;
|
||||
}
|
||||
$cat_full_name = attribute_escape($cat_full_name);
|
||||
$cat_full_name = attr($cat_full_name);
|
||||
|
||||
$x = new WP_Ajax_Response( array(
|
||||
'what' => 'cat',
|
||||
@@ -552,7 +552,7 @@ case 'add-tag' : // From Manage->Tags
|
||||
die('0');
|
||||
|
||||
$tag_full_name = $tag->name;
|
||||
$tag_full_name = attribute_escape($tag_full_name);
|
||||
$tag_full_name = attr($tag_full_name);
|
||||
|
||||
$x = new WP_Ajax_Response( array(
|
||||
'what' => 'tag',
|
||||
|
||||
Reference in New Issue
Block a user