Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/18/2012 10:19:17 AM (12 years ago)
Author:
djpaul
Message:

Make minor corrections to phpdoc in Blogs component. Fixes #4447, props fanquake

File:
1 edited

Legend:

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

    r5930 r6260  
    1616
    1717    if ( bp_is_active( 'activity' ) && (int) $wpdb->blogid == bp_get_root_blog_id() )
    18         add_action('widgets_init', create_function('', 'return register_widget("BP_Blogs_Recent_Posts_Widget");') );
     18        add_action( 'widgets_init', create_function( '', 'return register_widget("BP_Blogs_Recent_Posts_Widget");' ) );
    1919}
    2020add_action( 'bp_register_widgets', 'bp_blogs_register_widgets' );
     
    3636            $instance['max_posts'] = 10; ?>
    3737
    38         <?php /* Override some of the contextually set parameters for bp_has_activities() */ ?>
     38        <?php // Override some of the contextually set parameters for bp_has_activities() ?>
    3939        <?php if ( bp_has_activities( array( 'action' => 'new_blog_post', 'max' => $instance['max_posts'], 'per_page' => $instance['max_posts'], 'user_id' => 0, 'scope' => false, 'object' => false, 'primary_id' => false ) ) ) : ?>
    4040
Note: See TracChangeset for help on using the changeset viewer.