Changeset 11099
- Timestamp:
- 09/13/2016 10:09:52 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-catchuri.php
r11007 r11099 1036 1036 /* 1037 1037 * If not on a BP single page, bail. 1038 * It's too early to use bp_is_single_item() here.1039 */ 1040 if ( ! bp_is_group() || ! bp_is_user() || ! bp_is_single_activity() ) {1038 * Too early to use bp_is_single_item(), so use BP conditionals. 1039 */ 1040 if ( false === ( bp_is_group() || bp_is_user() || bp_is_single_activity() ) ) { 1041 1041 return $retval; 1042 1042 } 1043 1043 1044 // Set default properties as recommended in the 'posts_pre_query' DocBlock. 1044 1045 $query->found_posts = 0; 1045 1046 $query->max_num_pages = 0;
Note: See TracChangeset
for help on using the changeset viewer.