WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/26/2014 06:54:26 AM (7 years ago)
Author:
nacin
Message:

Decrement update count bubbles as plugins/themes are updated, live.

props gcorne, mitchoyoshitaka.
fixes #17703.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update.php

    r27158 r27280  
    3838        $nonce = 'bulk-update-plugins';
    3939
    40         wp_enqueue_script('jquery');
     40        wp_enqueue_script( 'updates' );
    4141        iframe_header();
    4242
     
    5555        $parent_file = 'plugins.php';
    5656        $submenu_file = 'plugins.php';
     57
     58        wp_enqueue_script( 'updates' );
    5759        require_once(ABSPATH . 'wp-admin/admin-header.php');
    5860
     
    155157
    156158        wp_enqueue_script( 'customize-loader' );
     159        wp_enqueue_script( 'updates' );
    157160
    158161        $title = __('Update Theme');
     
    186189        $nonce = 'bulk-update-themes';
    187190
    188         wp_enqueue_script('jquery');
     191        wp_enqueue_script( 'updates' );
    189192        iframe_header();
    190193
Note: See TracChangeset for help on using the changeset viewer.