diff --git src/wp-admin/css/admin-menu.css src/wp-admin/css/admin-menu.css
index 74b922e..d439b4b 100644
|
|
|
ul#adminmenu > li.current > a.current:after { |
| 519 | 519 | #adminmenu .awaiting-mod, |
| 520 | 520 | #adminmenu .update-plugins { |
| 521 | 521 | display: inline-block; |
| | 522 | /* Old Version |
| 522 | 523 | background-color: #d54e21; |
| | 524 | */ |
| | 525 | /* New Version */ |
| | 526 | background-color: #DC3232; |
| 523 | 527 | color: #fff; |
| | 528 | /* Old Version |
| 524 | 529 | font-size: 9px; |
| 525 | 530 | line-height: 17px; |
| | 531 | */ |
| | 532 | /* New Version */ |
| | 533 | font-size: 14px; |
| | 534 | line-height: 21px; |
| | 535 | line-height: 1.5; |
| 526 | 536 | font-weight: 600; |
| | 537 | /* Old Version |
| 527 | 538 | margin: 1px 0 0 2px; |
| | 539 | */ |
| | 540 | /* New Version */ |
| | 541 | margin: -2px 0 0 4px; |
| 528 | 542 | vertical-align: top; |
| 529 | 543 | -webkit-border-radius: 10px; |
| 530 | 544 | border-radius: 10px; |
| … |
… |
ul#adminmenu > li.current > a.current:after { |
| 534 | 548 | #adminmenu li .awaiting-mod span, |
| 535 | 549 | #adminmenu li span.update-plugins span { |
| 536 | 550 | display: block; |
| | 551 | /* Old version |
| 537 | 552 | padding: 0 6px; |
| | 553 | */ |
| | 554 | /* New Version */ |
| | 555 | padding: 1px 7px; |
| 538 | 556 | } |
| 539 | 557 | |
| 540 | 558 | #adminmenu li.current a .awaiting-mod, |
| 541 | 559 | #adminmenu li a.wp-has-current-submenu .update-plugins { |
| | 560 | /* Old Version |
| 542 | 561 | background-color: #00b9eb; |
| | 562 | */ |
| | 563 | /* New Version */ |
| | 564 | background-color: #23282D; |
| 543 | 565 | color: #fff; |
| 544 | 566 | } |
| 545 | 567 | |
diff --git src/wp-admin/menu.php src/wp-admin/menu.php
index 296f3c0..e3ffbff 100644
|
|
|
if ( current_user_can( 'edit_posts' ) ) { |
| 73 | 73 | $awaiting_mod = wp_count_comments(); |
| 74 | 74 | $awaiting_mod = $awaiting_mod->moderated; |
| 75 | 75 | $menu[25] = array( |
| 76 | | sprintf( __( 'Comments %s' ), '<span class="awaiting-mod count-' . absint( $awaiting_mod ) . '"><span class="pending-count">' . number_format_i18n( $awaiting_mod ) . '</span></span>' ), |
| | 76 | sprintf( __( 'Comments %s' ), '<span class="awaiting-mod count-' . absint( $awaiting_mod ) . '"><span class="pending-count" aria-label="'._x("Number of Pending Comments", "theme editor").'">' . number_format_i18n( $awaiting_mod ) . '</span></span>' ), |
| 77 | 77 | 'edit_posts', |
| 78 | 78 | 'edit-comments.php', |
| 79 | 79 | '', |
| … |
… |
$count = ''; |
| 197 | 197 | if ( ! is_multisite() && current_user_can( 'update_plugins' ) ) { |
| 198 | 198 | if ( ! isset( $update_data ) ) |
| 199 | 199 | $update_data = wp_get_update_data(); |
| 200 | | $count = "<span class='update-plugins count-{$update_data['counts']['plugins']}'><span class='plugin-count'>" . number_format_i18n($update_data['counts']['plugins']) . "</span></span>"; |
| | 200 | $count = "<span class='update-plugins count-{$update_data['counts']['plugins']}'><span class='plugin-count' aria-label='"._x('Number of Plugins Needing Updates', 'theme editor')."'>" . number_format_i18n($update_data['counts']['plugins']) . "</span></span>"; |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | 203 | $menu[65] = array( sprintf( __('Plugins %s'), $count ), 'activate_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'dashicons-admin-plugins' ); |