Make WordPress Core

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

File update-filter-patch-5.patch, 492 bytes (added by usermrpapa, 12 years ago)
  • wp-includes/update.php

     
    352352        }
    353353
    354354        $counts['total'] = $counts['plugins'] + $counts['themes'] + $counts['wordpress'];
     355    $counts = apply_filters( 'update_count', $counts );
    355356        $update_title = array();
    356357        if ( $counts['wordpress'] )
    357358                $update_title[] = sprintf(__('%d WordPress Update'), $counts['wordpress']);