[buddypress-trac] [BuddyPress] #4834: Can't create groups

buddypress-trac noreply at wordpress.org
Tue Feb 26 14:03:01 UTC 2013

#4834: Can't create groups
 Reporter:  rhodez             |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Core               |     Version:  1.7
 Severity:  normal             |  Resolution:  wontfix
 Keywords:  reporter-feedback  |
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


 luccame - Thanks for the pointer to Infoway.

 The problem, at least in the case of Infoway, is that it's coded
 incorrectly. In page.php, their call to `the_title()` occurs *outside the
 loop*, which means that BP's dummy post trick (which is necessary to make
 much of theme compatibility work) doesn't stick. Not only do they put the
 loop in the wrong place, they also didn't do it right. Instead of

 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

 the template does this:

 <?php if ( have_posts() ) : the_post(); ?>

 In other words, they skip the `while` part of the loop (which is, of
 course, the loop itself). I guess WP's loop functionality is generous
 enough to make this syntax work on a regular WP page (where the loop only
 contains a single post, which has already been pulled up in
 `$wp_the_query`) but it won't work for BP.

 I'm closing as wontfix. This is, at root, a case of the theme author doing
 it wrong. If anyone has ideas for how BP might address this sort of error
 without introducing a bunch of weird mechanisms, please reopen with

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4834#comment:3>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list