[buddypress-trac] [BuddyPress] #3554: Inverted component root page craziness

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Sep 6 12:42:53 UTC 2011

#3554: Inverted component root page craziness
 Reporter:  johnjamesjacoby          |       Owner:
     Type:  defect                   |      Status:  new
 Priority:  normal                   |   Milestone:  1.5
Component:  Core                     |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |

Comment (by boonebgorges):

 I haven't dug into it, but I'm pretty confident guessing that it has to do
 with bp_is_current_component(). In order to provide maximum flexibility
 and backward compatibility, that function looks for matches both to the
 canonical id ('groups') but also to the page slug, which could be
 'members' in the case you've described.

 If I'm right, we should just be able to change the order of the
 conditionals in bp_is_current_component(), so that the canonical id check
 comes first.

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

More information about the buddypress-trac mailing list