Validation fixes. Props ocean90, xknown. fixes #17364

git-svn-id: http://svn.automattic.com/wordpress/trunk@18114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-06-02 17:05:55 +00:00
parent 46d0e53c7b
commit 15a6a89eb0
13 changed files with 17 additions and 17 deletions

File diff suppressed because one or more lines are too long

View File

@ -532,7 +532,7 @@ a,
color: #21759b;
}
#adminmenu #awaiting-mod,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins,
#sidemenu a .update-plugins,
#rightnow .reallynow {
@ -548,7 +548,7 @@ a,
color: #fff;
}
#adminmenu li.current a #awaiting-mod,
#adminmenu li.current a .awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins{
background-color: #464646;
color: #fff;

File diff suppressed because one or more lines are too long

View File

@ -532,7 +532,7 @@ a,
color: #21759b;
}
#adminmenu #awaiting-mod,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins,
#sidemenu a .update-plugins,
#rightnow .reallynow {
@ -548,7 +548,7 @@ a,
color: #fff;
}
#adminmenu li.current a #awaiting-mod,
#adminmenu li.current a .awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins{
background-color: #464646;
color: #fff;

File diff suppressed because one or more lines are too long

View File

@ -506,7 +506,7 @@ form.upgrade .hint {
padding: 6px 1px 0 0;
}
#adminmenu #awaiting-mod,
#adminmenu .awaiting-mod,
#adminmenu span.update-plugins,
#sidemenu li a span.update-plugins {
font-family: Tahoma, Arial, sans-serif;

File diff suppressed because one or more lines are too long

View File

@ -1410,7 +1410,7 @@ body.no-js #adminmenu li.wp-has-current-submenu .wp-submenu {
padding: 6px 0 0 1px;
}
#adminmenu #awaiting-mod,
#adminmenu .awaiting-mod,
#adminmenu span.update-plugins,
#sidemenu li a span.update-plugins {
position: absolute;
@ -1426,7 +1426,7 @@ body.no-js #adminmenu li.wp-has-current-submenu .wp-submenu {
border-radius: 10px;
}
#adminmenu li #awaiting-mod span,
#adminmenu li .awaiting-mod span,
#adminmenu li span.update-plugins span,
#sidemenu li a span.update-plugins span {
display: block;

View File

@ -137,7 +137,7 @@ class WP_Media_List_Table extends WP_List_Table {
/* translators: column name */
if ( !$this->detached ) {
$posts_columns['parent'] = _x( 'Attached to', 'column name' );
$posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></div>';
$posts_columns['comments'] = '<span class="vers"><img alt="Comments" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></span>';
}
/* translators: column name */
$posts_columns['date'] = _x( 'Date', 'column name' );

View File

@ -112,7 +112,7 @@ class WP_Users_List_Table extends WP_List_Table {
$name = translate_user_role( $name );
/* translators: User role name with count */
$name = sprintf( __('%1$s <span class="count">(%2$s)</span>'), $name, $avail_roles[$this_role] );
$role_links[$this_role] = "<a href='" . esc_html( add_query_arg( 'role', $this_role, $url ) ) . "'$class>$name</a>";
$role_links[$this_role] = "<a href='" . esc_url( add_query_arg( 'role', $this_role, $url ) ) . "'$class>$name</a>";
}
return $role_links;

View File

@ -35,7 +35,7 @@ setCommentsList = function() {
dif = $('#' + settings.element).is('.' + settings.dimClass) ? 1 : -1;
n = n + dif;
if ( n < 0 ) { n = 0; }
a.closest('#awaiting-mod')[ 0 == n ? 'addClass' : 'removeClass' ]('count-0');
a.closest('.awaiting-mod')[ 0 == n ? 'addClass' : 'removeClass' ]('count-0');
updateCount(a, n);
dashboardTotals();
});
@ -157,7 +157,7 @@ setCommentsList = function() {
if ( n < 0 )
n = 0;
a.closest('#awaiting-mod')[ 0 == n ? 'addClass' : 'removeClass' ]('count-0');
a.closest('.awaiting-mod')[ 0 == n ? 'addClass' : 'removeClass' ]('count-0');
updateCount(a, n);
dashboardTotals();
});

File diff suppressed because one or more lines are too long

View File

@ -111,7 +111,7 @@ $menu[20] = array( __('Pages'), 'edit_pages', 'edit.php?post_type=page', '', 'me
$awaiting_mod = wp_count_comments();
$awaiting_mod = $awaiting_mod->moderated;
$menu[25] = array( sprintf( __('Comments %s'), "<span id='awaiting-mod' class='count-$awaiting_mod'><span class='pending-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'edit_posts', 'edit-comments.php', '', 'menu-top menu-icon-comments', 'menu-comments', 'div' );
$menu[25] = array( sprintf( __('Comments %s'), "<span class='awaiting-mod count-$awaiting_mod'><span class='pending-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'edit_posts', 'edit-comments.php', '', 'menu-top menu-icon-comments', 'menu-comments', 'div' );
unset($awaiting_mod);
$submenu[ 'edit-comments.php' ][0] = array( __('All Comments'), 'edit_posts', 'edit-comments.php' );