Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/28/2017 02:23:03 AM (8 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress: Prefer bbp_redirect() in bbp_maybe_create_group_forum_root()

This change uses the new internal function as it's intended, and removes an additional die; usage.

Trunk, for 2.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/extend/buddypress/functions.php

    r6573 r6674  
    352352
    353353        // Redirect
    354         wp_safe_redirect( add_query_arg( array(
     354        bbp_redirect( add_query_arg( array(
    355355            'page'    => 'bbpress',
    356             'updated' => true // Lame, but still supported
     356            'updated' => true
    357357        ), admin_url( 'options-general.php' ) ) );
    358         die;
    359358    }
    360359}
Note: See TracChangeset for help on using the changeset viewer.