[buddypress-trac] [BuddyPress] #4880: 1.7 Beta 2 content double displayed in a group
buddypress-trac
noreply at wordpress.org
Sat Mar 16 19:46:58 UTC 2013
#4880: 1.7 Beta 2 content double displayed in a group
-------------------------------+------------------------------
Reporter: jackvd | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Groups | Version: 1.7
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Comment (by r-a-y):
The problem with Yoko is the page loop is not set up correctly.
Yoko's page.php looks like this:
{{{
<?php the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php comments_template( '', true ); ?>
}}}
It should look like this:
{{{
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?>
}}}
----
To confirm, this bug is only happening with Yoko, correct?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4880#comment:9>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list