Changeset 8462
- Timestamp:
- 05/31/2014 04:22:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template-loader.php
r8461 r8462 163 163 164 164 // Bail if no location, or function does not exist 165 if ( empty( $location_callback ) || ! function_exists( $location_callback ) )165 if ( empty( $location_callback ) ) { 166 166 return false; 167 } 168 169 // Bail if callback function does not exist 170 if ( ! is_array( $location_callback ) ) { 171 if ( ! function_exists( $location_callback ) ) { 172 return false; 173 } 174 } 167 175 168 176 // Add location callback to template stack
Note: See TracChangeset
for help on using the changeset viewer.