Whitespace cleanup for [4656]
git-svn-id: http://svn.automattic.com/wordpress/trunk@4657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5a76c03203
commit
bdd210972c
|
@ -531,9 +531,9 @@ function get_link_to_edit( $link_id ) {
|
|||
$link->link_name = attribute_escape($link->link_name);
|
||||
$link->link_image = attribute_escape($link->link_image);
|
||||
$link->link_description = attribute_escape($link->link_description);
|
||||
$link->link_notes = wp_specialchars( $link->link_notes );
|
||||
$link->link_rss = attribute_escape($link->link_rss);
|
||||
$link->link_rel = attribute_escape($link->link_rel);
|
||||
$link->link_notes = wp_specialchars($link->link_notes);
|
||||
$link->post_category = $link->link_category;
|
||||
|
||||
return $link;
|
||||
|
|
|
@ -1081,7 +1081,7 @@ function js_escape($text) {
|
|||
return preg_replace("/\r?\n/", "\\n", addslashes($text));
|
||||
}
|
||||
|
||||
// Escaping for HTML attributes like
|
||||
// Escaping for HTML attributes
|
||||
function attribute_escape($text) {
|
||||
return wp_specialchars($text, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue