Make WordPress Core


Ignore:
Timestamp:
02/26/2014 06:54:26 AM (12 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/includes/class-wp-upgrader.php

    r27047 r27280  
    561561
    562562                        if ( !isset( $current->response[ $plugin ] ) ) {
    563                                 $this->skin->set_result(true);
     563                                $this->skin->set_result('up_to_date');
    564564                                $this->skin->before();
    565565                                $this->skin->feedback('up_to_date');
     
    864864                        $this->skin->before();
    865865                        $this->skin->set_result(false);
    866                         $this->skin->error('up_to_date');
     866                        $this->skin->error( 'up_to_date' );
    867867                        $this->skin->after();
    868868                        return false;
     
    949949                                $this->skin->set_result(true);
    950950                                $this->skin->before();
    951                                 $this->skin->feedback('up_to_date');
     951                                $this->skin->feedback( 'up_to_date' );
    952952                                $this->skin->after();
    953953                                $results[$theme] = true;
Note: See TracChangeset for help on using the changeset viewer.