Changeset 6260
- Timestamp:
- 08/18/2012 10:19:17 AM (12 years ago)
- Location:
- trunk/bp-blogs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-cache.php
r6093 r6260 8 8 * 9 9 * @package BuddyPress 10 * @subpackage Blogs BuddyBar10 * @subpackage BlogsCache 11 11 */ 12 12 … … 19 19 * @since BuddyPress (1.0) 20 20 * @package BuddyPress 21 * @subpackage Blogs BuddyBar21 * @subpackage BlogsCache 22 22 * @param int $blog_id 23 23 * @param int $user_id … … 33 33 * @since BuddyPress (1.0) 34 34 * @package BuddyPress 35 * @subpackage Blogs BuddyBar35 * @subpackage BlogsCache 36 36 * @param Blog $recorded_blog_obj 37 37 */ -
trunk/bp-blogs/bp-blogs-widgets.php
r5930 r6260 16 16 17 17 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");' ) ); 19 19 } 20 20 add_action( 'bp_register_widgets', 'bp_blogs_register_widgets' ); … … 36 36 $instance['max_posts'] = 10; ?> 37 37 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() ?> 39 39 <?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 ) ) ) : ?> 40 40
Note: See TracChangeset
for help on using the changeset viewer.