Skip to:
Content

BuddyPress.org

Changeset 7895


Ignore:
Timestamp:
02/16/2014 09:34:03 PM (11 years ago)
Author:
boonebgorges
Message:

Don't update_meta_cache when querying for groups in activity post form box.

See #5398

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-templates/bp-legacy/buddypress/activity/post-form.php

    r6840 r7895  
    4545                        <option selected="selected" value="0"><?php _e( 'My Profile', 'buddypress' ); ?></option>
    4646
    47                         <?php if ( bp_has_groups( 'user_id=' . bp_loggedin_user_id() . '&type=alphabetical&max=100&per_page=100&populate_extras=0' ) ) :
     47                        <?php if ( bp_has_groups( 'user_id=' . bp_loggedin_user_id() . '&type=alphabetical&max=100&per_page=100&populate_extras=0&update_meta_cache=0' ) ) :
    4848                            while ( bp_groups() ) : bp_the_group(); ?>
    4949
Note: See TracChangeset for help on using the changeset viewer.