From c2ff1cd44a25b4d2add6cbc70b540dea62daac9f Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 27 Apr 2009 23:09:08 +0000 Subject: [PATCH] Some attr escaping. see #9650 git-svn-id: http://svn.automattic.com/wordpress/trunk@11104 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-ajax.php | 4 +-- wp-admin/comment.php | 10 +++--- wp-admin/custom-header.php | 16 +++++----- wp-admin/edit-category-form.php | 4 +-- wp-admin/edit-comments.php | 36 +++++++++++----------- wp-admin/edit-form-advanced.php | 46 ++++++++++++++-------------- wp-admin/edit-form-comment.php | 12 ++++---- wp-admin/edit-link-categories.php | 8 ++--- wp-admin/edit-link-category-form.php | 8 ++--- wp-admin/edit-link-form.php | 24 +++++++-------- wp-admin/edit-page-form.php | 2 +- wp-login.php | 10 +++--- 12 files changed, 90 insertions(+), 90 deletions(-) diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index 48d7beb5f6..17da3201f6 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -426,7 +426,7 @@ case 'add-link-category' : // On the Fly $x->add( array( 'what' => 'link-category', 'id' => $cat_id, - 'data' => "", + 'data' => "", 'position' => -1 ) ); } @@ -1213,7 +1213,7 @@ case 'find_posts': $time = mysql2date(__('Y/m/d'), $post->post_date); } - $html .= ''; + $html .= ''; $html .= ''.wp_specialchars($time, true).''.wp_specialchars($stat, true).''."\n\n"; } $html .= ''; diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 4bd10c578b..92e43bb535 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -90,18 +90,18 @@ if ( 'spam' == $_GET['dt'] ) { - - + +
' onclick="self.location='" />' onclick="self.location='" />
- + - - + + diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 2d1cf33b79..9c5e1be7b5 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -284,10 +284,10 @@ class Custom_Image_Header {
- - + + -
+ @@ -301,7 +301,7 @@ class Custom_Image_Header {

- +

@@ -313,7 +313,7 @@ class Custom_Image_Header {

- +
- - + + - +

diff --git a/wp-admin/edit-category-form.php b/wp-admin/edit-category-form.php index d84f30f981..6ee43172da 100644 --- a/wp-admin/edit-category-form.php +++ b/wp-admin/edit-category-form.php @@ -44,7 +44,7 @@ _fill_empty_category($category);
- + @@ -70,7 +70,7 @@ _fill_empty_category($category);
-

+

diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 7fcb881cc6..990963dc77 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -182,7 +182,7 @@ unset($status_links); - + - + - - + +
@@ -240,9 +240,9 @@ $page_links = paginate_links( array( '' . number_format_i18n( $total ) . '', $page_links ); echo $page_links_text; ?>
- - - + + +
@@ -259,7 +259,7 @@ $page_links = paginate_links( array( - + - + - + - + @@ -346,10 +346,10 @@ if ( $page_links ) - + - +
@@ -360,9 +360,9 @@ if ( $page_links ) @@ -166,7 +166,7 @@ if ( $page_links ) - +
@@ -211,7 +211,7 @@ if ( $page_links ) -

+

diff --git a/wp-admin/edit-link-category-form.php b/wp-admin/edit-link-category-form.php index 9488dde010..1122b1ce35 100644 --- a/wp-admin/edit-link-category-form.php +++ b/wp-admin/edit-link-category-form.php @@ -57,13 +57,13 @@ _fill_empty_link_category($category);
- - + + - + @@ -75,7 +75,7 @@ _fill_empty_link_category($category);
-

+

diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php index ecc7235e31..246b478d4f 100644 --- a/wp-admin/edit-link-form.php +++ b/wp-admin/edit-link-form.php @@ -60,7 +60,7 @@ function link_submit_meta_box($link) {
- +
@@ -91,9 +91,9 @@ if ( !empty($_GET['action']) && 'edit' == $_GET['action'] && current_user_can('m
link_id) ) { ?> - + - +
@@ -139,8 +139,8 @@ function link_categories_meta_box($link) { ?>

@@ -185,7 +185,7 @@ function link_xfn_meta_box($link) { - +
@@ -305,11 +305,11 @@ function link_advanced_meta_box($link) { - + - + @@ -320,7 +320,7 @@ function link_advanced_meta_box($link) {
+

@@ -382,7 +382,7 @@ $side_meta_boxes = do_meta_boxes( 'link', 'side', $link );

- +

http://wordpress.org/ — don’t forget the http://'); ?>

@@ -390,7 +390,7 @@ $side_meta_boxes = do_meta_boxes( 'link', 'side', $link );

- +

diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index 2804675bd5..b7fa6f53f0 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -67,7 +67,7 @@ function page_submit_meta_box($post) {
- +
diff --git a/wp-login.php b/wp-login.php index 8693e6abb3..69d72e7a06 100644 --- a/wp-login.php +++ b/wp-login.php @@ -310,7 +310,7 @@ case 'retrievepassword' :

-

+

-

+

+

-

+

- +