Skip to:
Content

bbPress.org

Changeset 6216


Ignore:
Timestamp:
01/12/2017 06:55:10 AM (4 years ago)
Author:
johnjamesjacoby
Message:

Users: Add nopaging to WP_Query usages.

Fixes bug with favs/subs being limited to 10 results by default. See #2959.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/users/functions.php

    r6198 r6216  
    321321        'fields'     => 'ids',
    322322        'post_type'  => bbp_get_topic_post_type(),
     323        'nopaging'   => true,
    323324        'meta_query' => array( array(
    324325            'key'     => '_bbp_favorite',
     
    678679        'fields'     => 'ids',
    679680        'post_type'  => bbp_get_forum_post_type(),
     681        'nopaging'   => true,
    680682        'meta_query' => array( array(
    681683            'key'     => '_bbp_subscription',
     
    705707        'fields'     => 'ids',
    706708        'post_type'  => bbp_get_topic_post_type(),
     709        'nopaging'   => true,
    707710        'meta_query' => array( array(
    708711            'key'     => '_bbp_subscription',
Note: See TracChangeset for help on using the changeset viewer.