Remove debug cruft from [20852].
git-svn-id: http://core.svn.wordpress.org/trunk@20853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
95e1c32720
commit
f3ec4f06c6
|
@ -69,11 +69,6 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
|||
$current = get_site_transient( 'update_plugins' );
|
||||
foreach ( (array) $plugins['all'] as $plugin_file => $plugin_data ) {
|
||||
if ( isset( $current->response[ $plugin_file ] ) ) {
|
||||
ob_start();
|
||||
var_dump( $current->response[ $plugin_file ] );
|
||||
error_log( $plugin_file . ': ' . ob_get_clean() );
|
||||
}
|
||||
if ( ! empty( $current->response[ $plugin_file ] ) ) {
|
||||
$plugins['all'][ $plugin_file ]['update'] = true;
|
||||
$plugins['upgrade'][ $plugin_file ] = $plugins['all'][ $plugin_file ];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue