From 469d1a309957f28e14ee5f534c8128d4be991c64 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 18 Mar 2013 14:01:25 +0000 Subject: [PATCH] Escape form action urls with esc_url() rather than esc_attr(). Props SergeyBiryukov fixes #23266 git-svn-id: http://core.svn.wordpress.org/trunk@23739 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/file.php | 2 +- wp-admin/includes/media.php | 8 ++++---- wp-admin/includes/template.php | 2 +- wp-admin/media-new.php | 2 +- wp-admin/update-core.php | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index 16b5cea7ea..00ddc37863 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -979,7 +979,7 @@ jQuery(function($){ }); --> -
+

diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index c58b2d7b9f..500a7ea3c5 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1602,7 +1602,7 @@ function media_upload_type_form($type = 'file', $errors = null, $id = null) { $form_class .= ' html-uploader'; ?> - + @@ -1667,7 +1667,7 @@ function media_upload_type_url_form($type = null, $errors = null, $id = null) { $form_class .= ' html-uploader'; ?> - + @@ -1818,7 +1818,7 @@ jQuery(function($){ |
- + @@ -2058,7 +2058,7 @@ foreach ($arc_result as $arc_row) { - + diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 83249fec73..540df71947 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -785,7 +785,7 @@ function wp_import_upload_form( $action ) {

- +

() diff --git a/wp-admin/media-new.php b/wp-admin/media-new.php index c6a7ae1415..e428811957 100644 --- a/wp-admin/media-new.php +++ b/wp-admin/media-new.php @@ -68,7 +68,7 @@ if ( get_user_setting('uploader') || isset( $_GET['browser-uploader'] ) )

- + diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index ba57da5a58..c8f5877429 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -188,7 +188,7 @@ function list_plugin_updates() { ?>

- +

@@ -266,7 +266,7 @@ function list_theme_updates() {

Please Note: Any customizations you have made to theme files will be lost. Please consider using child themes for modifications.'), _x('http://codex.wordpress.org/Child_Themes', 'Link used in suggestion to use child themes in GUU') ); ?>

- +