]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/class-wp-upgrader.php
WordPress 3.7.1
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-upgrader.php
index 891a4e8953b33157762a53ec1ee8a7fc9a0cbe52..90b9658d573f4d81bcb3586707d2f3e843c49082 100644 (file)
@@ -2135,7 +2135,7 @@ class WP_Automatic_Updater {
                // If the update transient is empty, use the update we just performed
                if ( ! $next_user_core_update )
                        $next_user_core_update = $core_update;
                // If the update transient is empty, use the update we just performed
                if ( ! $next_user_core_update )
                        $next_user_core_update = $core_update;
-               $newer_version_available = ( 'upgrade' == $next_user_core_update->response && version_compare( $next_user_core_update->version, $core_update, '>' ) );
+               $newer_version_available = ( 'upgrade' == $next_user_core_update->response && version_compare( $next_user_core_update->version, $core_update->version, '>' ) );
 
                /**
                 * Filter whether to send an email following an automatic background core update.
 
                /**
                 * Filter whether to send an email following an automatic background core update.