Skip to:
Content

BuddyPress.org

Changeset 12088


Ignore:
Timestamp:
05/12/2018 09:30:20 PM (18 months ago)
Author:
djpaul
Message:

Settings: fix loading action code for email address change.

Fixes #7824

Props r-a-y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-settings/classes/class-bp-settings-component.php

    r12072 r12088  
    7070        // Authenticated actions.
    7171        if ( is_user_logged_in() ) {
    72             if ( bp_is_current_action( 'general' ) ) {
     72            if ( ! bp_current_action() || bp_is_current_action( 'general' ) ) {
    7373                require $this->path . 'bp-settings/actions/general.php';
    7474
Note: See TracChangeset for help on using the changeset viewer.