- Timestamp:
- 06/02/2023 02:05:08 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-component.php
r13450 r13495 112 112 // User nav. 113 113 if ( bp_is_profile_component() ) { 114 require $this->path . 'bp-xprofile/screens/public.php';114 require_once $this->path . 'bp-xprofile/screens/public.php'; 115 115 116 116 // Sub-nav items. 117 117 if ( is_user_logged_in() && 'edit' === bp_current_action() ) { 118 require $this->path . 'bp-xprofile/screens/edit.php';118 require_once $this->path . 'bp-xprofile/screens/edit.php'; 119 119 } 120 120 } … … 122 122 // Settings. 123 123 if ( is_user_logged_in() && bp_is_user_settings_profile() ) { 124 require $this->path . 'bp-xprofile/screens/settings-profile.php';124 require_once $this->path . 'bp-xprofile/screens/settings-profile.php'; 125 125 } 126 126 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)