Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/14/2016 01:34:44 AM (9 years ago)
Author:
boonebgorges
Message:

Groups: Eliminate the populate_extras option from the bp_has_groups() stack.

Fun fact: Now that all these values are cached and lazy-loaded, the
parameter no longer does anything. Begone!

See #5451.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-functions.php

    r11095 r11100  
    712712        'per_page'           => 20,             // The number of results to return per page.
    713713        'page'               => 1,              // The page to return if limiting per page.
    714         'populate_extras'    => true,           // Fetch meta such as is_banned and is_member.
    715714        'update_meta_cache'  => true,           // Pre-fetch groupmeta for queried groups.
    716715        'update_admin_cache' => false,
     
    733732        'per_page'           => $r['per_page'],
    734733        'page'               => $r['page'],
    735         'populate_extras'    => $r['populate_extras'],
    736734        'update_meta_cache'  => $r['update_meta_cache'],
    737735        'update_admin_cache' => $r['update_admin_cache'],
Note: See TracChangeset for help on using the changeset viewer.