Changeset 6583 for trunk/src/includes/extend/buddypress/groups.php
- Timestamp:
- 06/19/2017 04:29:43 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/extend/buddypress/groups.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/buddypress/groups.php
r6573 r6583 816 816 */ 817 817 public function display_forums( $offset = 0 ) { 818 global $wp_query;819 818 820 819 // Allow actions immediately before group forum output … … 928 927 add_filter( 'bbp_get_topic_types', array( $this, 'unset_super_sticky' ), 10, 1 ); 929 928 929 // Get the main query object 930 $wp_query = bbp_get_wp_query(); 931 930 932 // Set the edit switches 931 933 $wp_query->bbp_is_edit = true; … … 994 996 995 997 if ( bp_action_variable( $offset + 2 ) === bbp_get_edit_rewrite_id() ) : 998 999 // Get the main query object 1000 $wp_query = bbp_get_wp_query(); 996 1001 997 1002 // Set the edit switches
Note: See TracChangeset
for help on using the changeset viewer.