Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/27/2018 02:22:35 PM (2 years ago)
Author:
djpaul
Message:

Admin: add "Hello" screen for 3.0.

To celebrate Nouveau, the new version/about screen has a fresh new modal-style appearance -- the "Hello" screen.
The change includes build tooling support, and removal of redundant markup/assets from the old about screen.

The Hello screen does not currently distinguish between a new install, and an upgrade, though the previous support for this remains intact for any future use.

See #7741

File:
1 edited

Legend:

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

    r11997 r11999  
    358358    }
    359359
    360     $query_args = array( 'page' => 'bp-about' );
     360    $query_args = array();
    361361    if ( get_transient( '_bp_is_new_install' ) ) {
    362362        $query_args['is_new_install'] = '1';
     
    364364    }
    365365
    366     // Redirect to BuddyPress about page.
    367     wp_safe_redirect( add_query_arg( $query_args, bp_get_admin_url( 'index.php' ) ) );
     366    // Redirect to dashboard and trigger the Hello screen.
     367    wp_safe_redirect( add_query_arg( $query_args, bp_get_admin_url( '?hello=buddypress' ) ) );
    368368}
    369369
Note: See TracChangeset for help on using the changeset viewer.