IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
470 | 470 | * @since BuddyPress (2.1.0) |
471 | 471 | */ |
472 | 472 | public function profile_admin_head() { |
473 | | global $submenu_file, $parent_file; |
| 473 | global $hook_suffix, $submenu_file, $parent_file; |
474 | 474 | |
475 | 475 | // Is the user editing their own profile? |
476 | 476 | if ( is_user_admin() || ( defined( 'IS_PROFILE_PAGE' ) && IS_PROFILE_PAGE ) ) { |
477 | 477 | $this->is_self_profile = true; |
478 | 478 | |
479 | 479 | // Is the user attempting to edit their own profile |
480 | | } else { |
| 480 | } elseif ( $hook_suffix === $this->user_page ) { |
481 | 481 | $this->is_self_profile = (bool) ( $this->get_user_id() === $this->current_user_id ); |
482 | 482 | } |
483 | 483 | |