diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css index 2f8861bd59..7cef937817 100644 --- a/wp-admin/css/colors-classic.css +++ b/wp-admin/css/colors-classic.css @@ -298,7 +298,6 @@ ul#widget-list li.widget-list-item h4.widget-title { .button:hover, .submit input:hover, -#edit-slug-buttons a.save:hover, #postcustomstuff .submit input:hover { border-color: #535353; } @@ -314,8 +313,6 @@ a:hover, .subsubsub a.current:hover, #login form .submit input:hover, div.dashboard-widget-submit input:hover, -#edit-slug-buttons a.save:hover, -#media-upload a.delete:hover, #media-upload a.del-link:hover, .ui-tabs-nav a:hover, #user_info a:hover { diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 12852ae848..1035e881af 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -303,7 +303,6 @@ ul#widget-list li.widget-list-item h4.widget-title { .button:hover, .submit input:hover, -#edit-slug-buttons a.save:hover, #postcustomstuff .submit input:hover { border-color: #535353; } @@ -319,8 +318,6 @@ a:hover, .subsubsub a.current:hover, #login form .submit input:hover, div.dashboard-widget-submit input:hover, -#edit-slug-buttons a.save:hover, -#media-upload a.delete:hover, #media-upload a.del-link:hover, .ui-tabs-nav a:hover, #user_info a:hover { diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index eb8c090974..1928614987 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -917,7 +917,7 @@ function get_sample_permalink_html($id, $new_title=null, $new_slug=null) { $post_name_html = ''.$post_name_abridged.''.$post_name.''; $display_link = str_replace(array('%pagename%','%postname%'), $post_name_html, $permalink); $return = '' . __('Permalink:') . "\n" . '' . $display_link . "\n"; - $return .= '' . __('Edit') . "\n"; + $return .= '' . __('Edit') . "\n"; return $return; } diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index f535e014ca..4091224513 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -610,7 +610,7 @@ function _tag_row( $tag, $class = '' ) { $out .= "$link$sep"; } $out .= ''; break; case 'slug': @@ -1150,7 +1150,7 @@ function get_inline_data($post) { if ( ! current_user_can('edit_' . $post->post_type, $post->ID) ) return; - $title = _draft_or_post_title($post->ID); + $title = attribute_escape($post->post_title); echo '