Changeset 38827 for trunk/src/wp-admin/network/menu.php
- Timestamp:
- 10/19/2016 10:26:31 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/menu.php
r37365 r38827 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 count-{$update_data['counts']['total']}'><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' );
Note: See TracChangeset
for help on using the changeset viewer.