[buddypress-trac] [BuddyPress Trac] #5418: theme compatibility still a problem even after #5301 patch

buddypress-trac noreply at wordpress.org
Fri Feb 21 20:33:00 UTC 2014


#5418: theme compatibility still a problem even after #5301 patch
--------------------------+------------------------------
 Reporter:  chochal       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  Awaiting Review
Component:  Theme         |     Version:  1.9.2
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by r-a-y):

 * keywords:  needs-patch => has-patch


Comment:

 Confirmed.

 The problem is due to the way BuddyPress is adding a post type during
 theme compat that does not exist.

 Stargazer uses a `is_singular( get_post_type() )` call to determine if it
 should use `the_content()` or `the_excerpt()`.

 Since our fake post types (bp_members, bp_groups, etc.) do not exist, the
 `is_singular( get_post_type() )` check will always fail.

 Attached patch is made against trunk and should fix this.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5418#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list