Ticket #33936: 33936.patch
File 33936.patch, 2.3 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/admin-menu.css
531 531 z-index: 26; 532 532 } 533 533 534 #adminmenu .update-dashboard { 535 margin: -1px 0 0 2px; 536 } 537 534 538 #adminmenu li .awaiting-mod span, 535 539 #adminmenu li span.update-plugins span { 536 540 display: block; -
src/wp-admin/menu.php
38 38 $cap = 'update_plugins'; 39 39 else 40 40 $cap = 'update_themes'; 41 $submenu[ 'index.php' ][10] = array( sprintf( __('Updates %s'), "<span class='update-plugins count-{$update_data['counts']['total']}' title='{$update_data['title']}'><span class='update-count'>" . number_format_i18n($update_data['counts']['total']) . "</span></span>" ), $cap, 'update-core.php');41 $submenu[ 'index.php' ][10] = array( sprintf( __('Updates %s'), "<span class='update-plugins update-dashboard count-{$update_data['counts']['total']}' title='{$update_data['title']}'><span class='update-count'>" . number_format_i18n($update_data['counts']['total']) . "</span></span>" ), $cap, 'update-core.php'); 42 42 unset( $cap ); 43 43 } 44 44 -
src/wp-admin/network/menu.php
14 14 15 15 $update_data = wp_get_update_data(); 16 16 if ( $update_data['counts']['total'] ) { 17 $submenu['index.php'][10] = array( sprintf( __( 'Updates %s' ), "<span class='update-plugins count-{$update_data['counts']['total']}' title='{$update_data['title']}'><span class='update-count'>" . number_format_i18n( $update_data['counts']['total'] ) . "</span></span>" ), 'update_core', 'update-core.php' );17 $submenu['index.php'][10] = array( sprintf( __( 'Updates %s' ), "<span class='update-plugins update-dashboard count-{$update_data['counts']['total']}' title='{$update_data['title']}'><span class='update-count'>" . number_format_i18n( $update_data['counts']['total'] ) . "</span></span>" ), 'update_core', 'update-core.php' ); 18 18 } else { 19 19 $submenu['index.php'][10] = array( __( 'Updates' ), 'update_core', 'update-core.php' ); 20 20 }