Skip to:
Content

BuddyPress.org

Changeset 6260


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

Location:
trunk/bp-blogs
Files:
2 edited

Legend:

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

    r6093 r6260  
    88 *
    99 * @package BuddyPress
    10  * @subpackage BlogsBuddyBar
     10 * @subpackage BlogsCache
    1111 */
    1212
     
    1919 * @since BuddyPress (1.0)
    2020 * @package BuddyPress
    21  * @subpackage BlogsBuddyBar
     21 * @subpackage BlogsCache
    2222 * @param int $blog_id
    2323 * @param int $user_id
     
    3333 * @since BuddyPress (1.0)
    3434 * @package BuddyPress
    35  * @subpackage BlogsBuddyBar
     35 * @subpackage BlogsCache
    3636 * @param Blog $recorded_blog_obj
    3737 */
  • 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.