Use css class instead of id to prevent validation errors with multiple instances, fixes #8192
git-svn-id: https://develop.svn.wordpress.org/trunk@9823 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3c3a79541e
commit
607754ec27
@ -12,7 +12,7 @@
|
|||||||
background-image: url(../images/bubble_bg-rtl.gif);
|
background-image: url(../images/bubble_bg-rtl.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod, #adminmenu li a #update-plugins {
|
#adminmenu li a #awaiting-mod, #adminmenu li a span.update-plugins {
|
||||||
background-image: url(../images/comment-stalk-rtl.gif);
|
background-image: url(../images/comment-stalk-rtl.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -491,13 +491,13 @@ body.press-this .ui-tabs-selected a:hover {
|
|||||||
color: #d54e21;
|
color: #d54e21;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod, #adminmenu li a #update-plugins {
|
#adminmenu li a #awaiting-mod, #adminmenu li a span.update-plugins {
|
||||||
background-image: url(../images/comment-stalk-fresh.gif);
|
background-image: url(../images/comment-stalk-fresh.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod span,
|
#adminmenu li a #awaiting-mod span,
|
||||||
#adminmenu li a #update-plugins span,
|
#adminmenu li a span.update-plugins span,
|
||||||
#sidemenu li a #update-plugins span,
|
#sidemenu li a span.update-plugins span,
|
||||||
#rightnow .reallynow,
|
#rightnow .reallynow,
|
||||||
#plugin-information .action-button {
|
#plugin-information .action-button {
|
||||||
background-color: #d54e21;
|
background-color: #d54e21;
|
||||||
@ -505,8 +505,8 @@ body.press-this .ui-tabs-selected a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a:hover #awaiting-mod span,
|
#adminmenu li a:hover #awaiting-mod span,
|
||||||
#adminmenu li a:hover #update-plugins span,
|
#adminmenu li a:hover span.update-plugins span,
|
||||||
#sidemenu li a:hover #update-plugins span {
|
#sidemenu li a:hover span.update-plugins span {
|
||||||
background-color: #264761;
|
background-color: #264761;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
background-image: url(../images/bubble_bg-rtl.gif);
|
background-image: url(../images/bubble_bg-rtl.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod, #adminmenu li a #update-plugins {
|
#adminmenu li a #awaiting-mod, #adminmenu li a span.update-plugins {
|
||||||
background-image: url(../images/comment-stalk-rtl.gif);
|
background-image: url(../images/comment-stalk-rtl.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -491,13 +491,13 @@ body.press-this .ui-tabs-selected a:hover {
|
|||||||
color: #d54e21;
|
color: #d54e21;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod, #adminmenu li a #update-plugins {
|
#adminmenu li a #awaiting-mod, #adminmenu li a span.update-plugins {
|
||||||
background-image: url(../images/comment-stalk-fresh.gif);
|
background-image: url(../images/comment-stalk-fresh.gif);
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod span,
|
#adminmenu li a #awaiting-mod span,
|
||||||
#adminmenu li a #update-plugins span,
|
#adminmenu li a span.update-plugins span,
|
||||||
#sidemenu li a #update-plugins span,
|
#sidemenu li a span.update-plugins span,
|
||||||
#rightnow .reallynow,
|
#rightnow .reallynow,
|
||||||
#plugin-information .action-button {
|
#plugin-information .action-button {
|
||||||
background-color: #d54e21;
|
background-color: #d54e21;
|
||||||
@ -505,8 +505,8 @@ body.press-this .ui-tabs-selected a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a:hover #awaiting-mod span,
|
#adminmenu li a:hover #awaiting-mod span,
|
||||||
#adminmenu li a:hover #update-plugins span,
|
#adminmenu li a:hover span.update-plugins span,
|
||||||
#sidemenu li a:hover #update-plugins span {
|
#sidemenu li a:hover span.update-plugins span {
|
||||||
background-color: #264761;
|
background-color: #264761;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ $update_count = 0;
|
|||||||
if ( !empty($update_plugins->response) )
|
if ( !empty($update_plugins->response) )
|
||||||
$update_count = count( $update_plugins->response );
|
$update_count = count( $update_plugins->response );
|
||||||
|
|
||||||
$menu[35] = array( sprintf( __('Plugins %s'), "<span id='update-plugins' class='count-$update_count'><span class='plugin-count'>" . number_format_i18n($update_count) . "</span></span>" ), 'activate_plugins', 'plugins.php', '', 'menu-top', 'menu-plugins', 'div' );
|
$menu[35] = array( sprintf( __('Plugins %s'), "<span class='update-plugins count-$update_count'><span class='plugin-count'>" . number_format_i18n($update_count) . "</span></span>" ), 'activate_plugins', 'plugins.php', '', 'menu-top', 'menu-plugins', 'div' );
|
||||||
$submenu['plugins.php'][5] = array( __('Installed'), 'activate_plugins', 'plugins.php' );
|
$submenu['plugins.php'][5] = array( __('Installed'), 'activate_plugins', 'plugins.php' );
|
||||||
$submenu['plugins.php'][10] = array(_c('Add New|plugin'), 'install_plugins', 'plugin-install.php');
|
$submenu['plugins.php'][10] = array(_c('Add New|plugin'), 'install_plugins', 'plugin-install.php');
|
||||||
$submenu['plugins.php'][15] = array( __('Editor'), 'edit_plugins', 'plugin-editor.php' );
|
$submenu['plugins.php'][15] = array( __('Editor'), 'edit_plugins', 'plugin-editor.php' );
|
||||||
|
@ -178,11 +178,13 @@ td.available-theme {
|
|||||||
/* 1000 - 1300
|
/* 1000 - 1300
|
||||||
=================================== */
|
=================================== */
|
||||||
#adminmenu a #awaiting-mod,
|
#adminmenu a #awaiting-mod,
|
||||||
#adminmenu a #update-plugins,
|
#adminmenu a span.update-plugins,
|
||||||
#sidemenu li a #update-plugins {
|
#sidemenu li a span.update-plugins {
|
||||||
background-position: -240px top;
|
background-position: -240px top;
|
||||||
}
|
}
|
||||||
#adminmenu li a:hover #awaiting-mod, #adminmenu li a:hover #update-plugins, #sidemenu li a:hover #update-plugins {
|
#adminmenu li a:hover #awaiting-mod,
|
||||||
|
#adminmenu li a:hover span.update-plugins,
|
||||||
|
#sidemenu li a:hover span.update-plugins {
|
||||||
background-position: -160px top;
|
background-position: -160px top;
|
||||||
}
|
}
|
||||||
#adminmenu li a #awaiting-mod span, #adminmenu li a #update-plugins span, #sidemenu li a #update-plugins span {
|
#adminmenu li a #awaiting-mod span, #adminmenu li a #update-plugins span, #sidemenu li a #update-plugins span {
|
||||||
|
@ -1125,8 +1125,8 @@ a#view-site-link {
|
|||||||
|
|
||||||
/* 2.6 */
|
/* 2.6 */
|
||||||
#adminmenu a #awaiting-mod,
|
#adminmenu a #awaiting-mod,
|
||||||
#adminmenu a #update-plugins,
|
#adminmenu a span.update-plugins,
|
||||||
#sidemenu li a #update-plugins {
|
#sidemenu li a span.update-plugins {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-top: 0.2em;
|
margin-top: 0.2em;
|
||||||
font-size: 0.7em;
|
font-size: 0.7em;
|
||||||
@ -1136,7 +1136,7 @@ a#view-site-link {
|
|||||||
width: 1em;
|
width: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a .count-0,
|
#adminmenu li span.count-0,
|
||||||
#sidemenu li a .count-0 {
|
#sidemenu li a .count-0 {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -1177,14 +1177,14 @@ strong .post-com-count {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a:hover #awaiting-mod,
|
#adminmenu li a:hover #awaiting-mod,
|
||||||
#adminmenu li a:hover #update-plugins,
|
#adminmenu li a:hover span.update-plugins,
|
||||||
#sidemenu li a:hover #update-plugins {
|
#sidemenu li a:hover span.update-plugins {
|
||||||
background-position: -80px bottom;
|
background-position: -80px bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod span,
|
#adminmenu li a #awaiting-mod span,
|
||||||
#adminmenu li a #update-plugins span,
|
#adminmenu li a span.update-plugins span,
|
||||||
#sidemenu li a #update-plugins span {
|
#sidemenu li a span.update-plugins span {
|
||||||
top: -0.8em;
|
top: -0.8em;
|
||||||
right: 0;
|
right: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Loading…
Reference in New Issue
Block a user