Make WordPress Core

Ticket #17838: 17838.patch

File 17838.patch, 489 bytes (added by SergeyBiryukov, 12 years ago)

With proper formatting

  • 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']);