Ticket #5978: 5978.patch
File 5978.patch, 460 bytes (added by , 10 years ago) |
---|
-
src/bp-members/bp-members-admin.php
477 477 $this->is_self_profile = true; 478 478 479 479 // 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'] ) ) ) { 481 481 $this->is_self_profile = (bool) ( $this->get_user_id() === $this->current_user_id ); 482 482 } 483 483