Changeset 13495 for trunk/src/bp-blogs/classes/class-bp-blogs-component.php
- Timestamp:
- 06/02/2023 02:05:08 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/classes/class-bp-blogs-component.php
r13492 r13495 177 177 // Actions. 178 178 if ( isset( $_GET['random-blog'] ) ) { 179 require $this->path . 'bp-blogs/actions/random.php';179 require_once $this->path . 'bp-blogs/actions/random.php'; 180 180 } 181 181 182 182 // Screens. 183 183 if ( bp_is_user() ) { 184 require $this->path . 'bp-blogs/screens/my-blogs.php';184 require_once $this->path . 'bp-blogs/screens/my-blogs.php'; 185 185 } else { 186 186 if ( bp_is_blogs_directory() ) { 187 require $this->path . 'bp-blogs/screens/directory.php';187 require_once $this->path . 'bp-blogs/screens/directory.php'; 188 188 } 189 189 190 190 if ( is_user_logged_in() && bp_is_current_action( 'create' ) ) { 191 require $this->path . 'bp-blogs/screens/create.php';191 require_once $this->path . 'bp-blogs/screens/create.php'; 192 192 } 193 193
Note: See TracChangeset
for help on using the changeset viewer.