Ticket #17838: update-count-filter.patch
File update-count-filter.patch, 592 bytes (added by , 13 years ago) |
---|
-
wp-admin/menu.php
51 51 $wordpress_update_count = 1; 52 52 } 53 53 54 $total_update_count = $plugin_update_count + $theme_update_count + $wordpress_update_count;54 $total_update_count = apply_filters('update_count', $plugin_update_count + $theme_update_count + $wordpress_update_count); 55 55 $update_title = array(); 56 56 if ( $wordpress_update_count ) 57 57 $update_title[] = sprintf(__('%d WordPress Update'), $wordpress_update_count);