diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php
index 411954f45c..e51f89c273 100644
--- a/wp-admin/admin-header.php
+++ b/wp-admin/admin-header.php
@@ -95,7 +95,7 @@ if ( function_exists('mb_strlen') ) {
}
?>
-
';
+ str = '
';
jQuery( '#' ).html( str );
jQuery( '#' ).submit();
return;
@@ -997,7 +997,7 @@ class LJ_API_Import {
if ( jQuery( '#' ).length ) {
jQuery( "# input[type='submit']" ).hide();
jQuery.ajaxSetup({'timeout':3600000});
- str = '
';
+ str = '
';
jQuery( '#' ).html( str );
jQuery('#ljapi-status').load(ajaxurl, {'action':'lj-importer',
'step':jQuery('#step').val(),
diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php
index 7b2699130a..e83c55b1b3 100644
--- a/wp-admin/includes/dashboard.php
+++ b/wp-admin/includes/dashboard.php
@@ -424,7 +424,7 @@ function wp_dashboard_quick_press() {
-
+
";
+ $out .= "
";
+ $out .= "
";
- $out .= "
";
+ $out .= "
";
+ $image_edit_button = "
';
+ else document.getElementById('status_img').innerHTML = '
';
},
updateImageData : function() {
@@ -1640,7 +1640,7 @@ var addExtImage = {
t.width = t.preloadImg.width;
t.height = t.preloadImg.height;
document.getElementById('go_button').style.color = '#333';
- document.getElementById('status_img').innerHTML = '
';
+ document.getElementById('status_img').innerHTML = '
';
},
getImageData : function() {
@@ -1650,7 +1650,7 @@ var addExtImage = {
t.resetImageData();
return false;
}
- document.getElementById('status_img').innerHTML = '
';
+ document.getElementById('status_img').innerHTML = '
';
t.preloadImg = new Image();
t.preloadImg.onload = t.updateImageData;
t.preloadImg.onerror = t.resetImageData;
diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php
index 483de415bf..95cdcab566 100644
--- a/wp-admin/includes/meta-boxes.php
+++ b/wp-admin/includes/meta-boxes.php
@@ -207,7 +207,7 @@ if ( current_user_can( "delete_${type_cap}", $post->ID ) ) {
+
post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) {
if ( $can_publish ) :
@@ -432,7 +432,7 @@ function post_comment_meta_box($post) {
-
+
diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php
index 97b982aafa..5e3eb5668f 100644
--- a/wp-admin/includes/plugin.php
+++ b/wp-admin/includes/plugin.php
@@ -821,7 +821,7 @@ function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $func
add_action( $hookname, $function );
if ( empty($icon_url) ) {
- $icon_url = 'images/generic.png';
+ $icon_url = esc_url( admin_url( 'images/generic.png' ) );
} elseif ( is_ssl() && 0 === strpos($icon_url, 'http://') ) {
$icon_url = 'https://' . substr($icon_url, 7);
}
diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index 6710c7e131..11cca710bc 100644
--- a/wp-admin/includes/template.php
+++ b/wp-admin/includes/template.php
@@ -65,7 +65,7 @@ function inline_edit_term_row($type, $taxonomy) {
-
+

 ) . ')

 ) . ')

 ); ?>)
+
+