Skip to:
Content

bbPress.org

Changeset 6505


Ignore:
Timestamp:
06/09/2017 04:41:30 AM (8 years ago)
Author:
johnjamesjacoby
Message:

Users: Bail if editing a user in wp-admin.

This is a theme-side only handler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/users/functions.php

    r6455 r6505  
    221221    }
    222222
     223    // Bail if in wp-admin
     224    if ( is_admin() ) {
     225        return;
     226    }
     227
    223228    // Get the displayed user ID
    224229    $user_id = bbp_get_displayed_user_id();
Note: See TracChangeset for help on using the changeset viewer.