Skip to:
Content

BuddyPress.org

Changeset 4034


Ignore:
Timestamp:
02/12/2011 12:46:08 AM (13 years ago)
Author:
djpaul
Message:

Correct upgrade nag link on WP 3.1 MS. Fixes #3029, props greuben

File:
1 edited

Legend:

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

    r4025 r4034  
    12791279        return;
    12801280
     1281    $url = is_multisite() ? network_admin_url( 'admin.php?page=bp-wizard' ) : admin_url( 'admin.php?page=bp-wizard' );
     1282
    12811283    switch( $bp->maintenence_mode ) {
    1282         case 'update' :
    1283             $msg = sprintf( __( 'BuddyPress has been updated! Please run the <a href="%s">update wizard</a>.', 'buddypress' ), admin_url( 'admin.php?page=bp-wizard' ) );
     1284        case 'update':
     1285            $msg = sprintf( __( 'BuddyPress has been updated! Please run the <a href="%s">update wizard</a>.', 'buddypress' ), $url );
    12841286            break;
    1285         case 'install' :
    1286             $msg = sprintf( __( 'BuddyPress was successfully installed! Please run the <a href="%s">installation wizard</a>.', 'buddypress' ), admin_url( 'admin.php?page=bp-wizard' ) );
     1287
     1288        default:
     1289        case 'install':
     1290            $msg = sprintf( __( 'BuddyPress was successfully installed! Please run the <a href="%s">installation wizard</a>.', 'buddypress' ), $url );
    12871291            break;
    12881292    }
Note: See TracChangeset for help on using the changeset viewer.