Skip to:
Content

BuddyPress.org

Changeset 7064


Ignore:
Timestamp:
05/15/2013 12:17:37 AM (9 years ago)
Author:
boonebgorges
Message:

Don't use extract() in BP_Blogs_Recent_Posts_Widget

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-widgets.php

    r6999 r7064  
    3232        $widget_name = apply_filters( 'widget_title', $widget_name );
    3333
    34         echo $before_widget;
    35         echo $before_title . $widget_name . $after_title;
     34        echo $args['before_widget'];
     35        echo $args['before_title'] . $widget_name . $args['after_title'];
    3636
    3737        if ( empty( $instance['max_posts'] ) || !$instance['max_posts'] )
     
    7171        <?php endif; ?>
    7272
    73         <?php echo $after_widget; ?>
     73        <?php echo $args['after_widget']; ?>
    7474    <?php
    7575    }
Note: See TracChangeset for help on using the changeset viewer.