Ticket #19752: 19752.diff
| File 19752.diff, 1.1 KB (added by solarissmoke, 17 months ago) |
|---|
-
wp-admin/includes/class-wp-upgrader.php
495 495 $this->skin->plugin_info = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin, false, true); 496 496 497 497 if ( !isset( $current->response[ $plugin ] ) ) { 498 $this->skin->set_result( false);498 $this->skin->set_result(true); 499 499 $this->skin->before(); 500 $this->skin-> error('up_to_date');500 $this->skin->feedback('up_to_date'); 501 501 $this->skin->after(); 502 $results[$plugin] = false;502 $results[$plugin] = true; 503 503 continue; 504 504 } 505 505 … … 775 775 $this->update_current++; 776 776 777 777 if ( !isset( $current->response[ $theme ] ) ) { 778 $this->skin->set_result( false);778 $this->skin->set_result(true); 779 779 $this->skin->before(); 780 $this->skin-> error('up_to_date');780 $this->skin->feedback('up_to_date'); 781 781 $this->skin->after(); 782 $results[$theme] = false;782 $results[$theme] = true; 783 783 continue; 784 784 } 785 785