WordPress.org

Make WordPress Core

Ticket #17838: update-filter-patch-4.patch

File update-filter-patch-4.patch, 490 bytes (added by usermrpapa, 2 years ago)
  • wp-includes/update.php

     
    356356        } 
    357357 
    358358        $counts['total'] = $counts['plugins'] + $counts['themes'] + $counts['wordpress']; 
     359    $counts = apply_filters('update_count', $counts); 
    359360        $update_title = array(); 
    360361        if ( $counts['wordpress'] ) 
    361362                $update_title[] = sprintf(__('%d WordPress Update'), $counts['wordpress']);