Changeset 6219 for trunk/src/includes/users/functions.php
- Timestamp:
- 01/12/2017 08:46:10 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/users/functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/users/functions.php
r6218 r6219 323 323 $user_id = bbp_get_user_id( $user_id ); 324 324 $favorites = new WP_Query( array( 325 'fields' => 'ids', 326 'post_type' => bbp_get_topic_post_type(), 327 'nopaging' => true, 328 'meta_query' => array( array( 325 'fields' => 'ids', 326 'post_type' => bbp_get_topic_post_type(), 327 'nopaging' => true, 328 'no_found_rows' => true, 329 'meta_query' => array( array( 329 330 'key' => '_bbp_favorite', 330 331 'value' => $user_id, … … 677 678 $user_id = bbp_get_user_id( $user_id ); 678 679 $subscriptions = new WP_Query( array( 679 'fields' => 'ids', 680 'post_type' => bbp_get_forum_post_type(), 681 'nopaging' => true, 682 'meta_query' => array( array( 680 'fields' => 'ids', 681 'post_type' => bbp_get_forum_post_type(), 682 'nopaging' => true, 683 'no_found_rows' => true, 684 'meta_query' => array( array( 683 685 'key' => '_bbp_subscription', 684 686 'value' => $user_id, … … 705 707 $user_id = bbp_get_user_id( $user_id ); 706 708 $subscriptions = new WP_Query( array( 707 'fields' => 'ids', 708 'post_type' => bbp_get_topic_post_type(), 709 'nopaging' => true, 709 'fields' => 'ids', 710 'post_type' => bbp_get_topic_post_type(), 711 'nopaging' => true, 712 'no_found_rows' => true, 710 713 'meta_query' => array( array( 711 714 'key' => '_bbp_subscription',
Note: See TracChangeset
for help on using the changeset viewer.