- Timestamp:
- 02/08/2016 04:14:59 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/classes/class-bp-core-friends-widget.php
r10529 r10553 37 37 */ 38 38 function widget( $args, $instance ) { 39 global $members_template; 40 39 41 extract( $args ); 40 42 … … 78 80 'populate_extras' => 1, 79 81 ); 82 83 // Back up the global. 84 $old_members_template = $members_template; 80 85 81 86 ?> … … 125 130 <?php endif; ?> 126 131 127 <?php echo $after_widget; ?> 128 <?php 132 <?php echo $after_widget; 133 134 // Restore the global. 135 $members_template = $old_members_template; 129 136 } 130 137
Note: See TracChangeset
for help on using the changeset viewer.