Remove fix_actve_plugins(). Props hakre. fixes #11750

git-svn-id: https://develop.svn.wordpress.org/trunk@12848 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-01-26 18:39:12 +00:00
parent df1095f560
commit 94a9904b69
7 changed files with 39 additions and 41 deletions
+2 -2
View File
@@ -112,7 +112,7 @@ function wp_update_plugins() {
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
$plugins = get_plugins();
$active = get_option( 'active_plugins' );
$active = get_option( 'active_plugins', array() );
$current = get_site_transient( 'update_plugins' );
if ( ! is_object($current) )
$current = new stdClass;
@@ -147,7 +147,7 @@ function wp_update_plugins() {
$current->last_checked = time();
set_site_transient( 'update_plugins', $current );
$to_send = (object)compact('plugins', 'active');
$to_send = (object) compact('plugins', 'active');
$options = array(
'timeout' => ( ( defined('DOING_CRON') && DOING_CRON ) ? 30 : 3),