mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 18:16:08 +00:00
Whitespace cleanup for [4656]
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
be708ef9a7
commit
3495490d2f
@ -471,9 +471,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;
|
||||
|
@ -1051,7 +1051,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…
x
Reference in New Issue
Block a user