Make WordPress Core

Changeset 25977


Ignore:
Timestamp:
10/29/2013 01:45:17 PM (11 years ago)
Author:
nacin
Message:

Use correct variable in WP_Automatic_Updater::send_email().

props pento.
see #25757 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r25891 r25977  
    21362136        if ( ! $next_user_core_update )
    21372137            $next_user_core_update = $core_update;
    2138         $newer_version_available = ( 'upgrade' == $next_user_core_update->response && version_compare( $next_user_core_update->version, $core_update, '>' ) );
     2138        $newer_version_available = ( 'upgrade' == $next_user_core_update->response && version_compare( $next_user_core_update->version, $core_update->version, '>' ) );
    21392139
    21402140        /**
Note: See TracChangeset for help on using the changeset viewer.