Make WordPress Core

Changeset 25981 for branches/3.7/src


Ignore:
Timestamp:
10/29/2013 05:14:06 PM (11 years ago)
Author:
nacin
Message:

Use correct variable in WP_Automatic_Updater::send_email().

Merges [25977] to the 3.7 branch and adds an inline comment.

props pento.
see #25757.

Location:
branches/3.7
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7

  • branches/3.7/src

  • branches/3.7/src/wp-admin/includes/class-wp-upgrader.php

    r25892 r25981  
    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.