Changeset 1520 for trunk/bp-blogs/bp-blogs-widgets.php
- Timestamp:
- 06/05/2009 09:58:24 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-blogs/bp-blogs-widgets.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-widgets.php
r1473 r1520 21 21 extract($args); 22 22 $options = get_blog_option( $current_blog->blog_id, 'bp_blogs_widget_recent_posts' ); 23 24 if ( empty( $options['max_posts'] ) || !$options['max_posts'] ) 25 $options['max_posts'] = 5; 23 26 ?> 24 27 <?php echo $before_widget; ?> … … 27 30 . $after_title; ?> 28 31 29 <?php $posts = bp_blogs_get_latest_posts( null, $options['max_posts'] ) ?>30 <?php $counter = 0; ?>32 <?php $posts = bp_blogs_get_latest_posts( null, $options['max_posts'] ) ?> 33 <?php $counter = 0; ?> 31 34 32 35 <?php if ( $posts ) : ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)