Skip to:
Content

BuddyPress.org

Ticket #5978: 5978.patch

File 5978.patch, 460 bytes (added by johnjamesjacoby, 10 years ago)
  • src/bp-members/bp-members-admin.php

     
    477477                        $this->is_self_profile = true;
    478478
    479479                // Is the user attempting to edit their own profile
    480                 } else {
     480                } elseif ( isset( $_GET['user_id' ] ) || ( isset( $_GET['page'] ) && ( 'bp-profile-edit' === $_GET['page'] ) ) ) {
    481481                        $this->is_self_profile = (bool) ( $this->get_user_id() === $this->current_user_id );
    482482                }
    483483