Changeset 10553 for trunk/src/bp-groups/classes/class-bp-groups-widget.php
- Timestamp:
- 02/08/2016 04:14:59 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/classes/class-bp-groups-widget.php
r10520 r10553 45 45 */ 46 46 public function widget( $args, $instance ) { 47 global $groups_template; 47 48 48 49 /** … … 100 101 'max' => $max_groups, 101 102 ); 103 104 // Back up the global. 105 $old_groups_template = $groups_template; 102 106 103 107 ?> … … 150 154 <?php endif; ?> 151 155 152 <?php echo $after_widget; ?> 153 <?php 156 <?php echo $after_widget; 157 158 // Restore the global. 159 $groups_template = $old_groups_template; 154 160 } 155 161
Note: See TracChangeset
for help on using the changeset viewer.