Changeset 8945 for trunk/src/bp-blogs/bp-blogs-filters.php
- Timestamp:
- 08/18/2014 05:32:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-filters.php
r7555 r8945 37 37 } 38 38 add_filter( 'wp_signup_location', 'bp_blogs_creation_location' ); 39 40 /** 41 * Only select comments by ID instead of all fields when using get_comments(). 42 * 43 * @since BuddyPress (2.1.0) 44 * 45 * @see bp_blogs_update_post() 46 * 47 * @param array Current SQL clauses in array format 48 * @return array 49 */ 50 function bp_blogs_comments_clauses_select_by_id( $retval ) { 51 $retval['fields'] = 'comment_ID'; 52 53 return $retval; 54 }
Note: See TracChangeset
for help on using the changeset viewer.