Make WordPress Core

Changeset 20895


Ignore:
Timestamp:
05/25/2012 01:43:35 PM (14 years ago)
Author:
nacin
Message:

Run _redirect_to_about_wordpress() in 3.4 due to the change in [20894] and the reliance on ?updated in [20887]. see #19599.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/update-core.php

    r20850 r20895  
    667667 * Redirect to the About WordPress page after a successful upgrade.
    668668 *
    669  * This function is only needed when the existing install is older than 3.3.0 (3.4.0 for multisite).
     669 * This function is only needed when the existing install is older than 3.4.0.
    670670 *
    671671 * @since 3.3.0
     
    675675    global $wp_version, $pagenow, $action;
    676676
    677     if ( is_multisite() ) {
    678         // Change to self_admin_url().
    679         if ( version_compare( $wp_version, '3.4-alpha', '>=' ) )
     677    if ( version_compare( $wp_version, '3.4-RC1', '>=' ) )
    680678            return;
    681     } elseif ( version_compare( $wp_version, '3.3', '>=' ) ) {
    682         return;
    683     }
    684679
    685680    // Ensure we only run this on the update-core.php page. wp_update_core() could be called in other contexts.
Note: See TracChangeset for help on using the changeset viewer.