[buddypress-trac] [BuddyPress Trac] #6527: BP mangles $wp_query when viewing member's profile

buddypress-trac noreply at wordpress.org
Tue Jun 23 22:37:45 UTC 2015

#6527: BP mangles $wp_query when viewing member's profile
 Reporter:  mikelopez            |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Awaiting Review
Component:  Component - Members  |     Version:  2.3.0
 Severity:  normal               |  Resolution:
 Keywords:  2nd-opinion          |

Comment (by r-a-y):

 Mike is doing checks on `'template_redirect'` as early as possible.  See:

 As a consequence, BP hasn't manipulated `$wp_query` yet, so WP still sees
 the page as a 404.

 His is a special use case for a plugin dealing with access control.  Since
 he wants to add BuddyPress support, in my opinion, he should be using
 BuddyPress conditional functions due to the current way we are dealing
 with pages in BuddyPress.

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

More information about the buddypress-trac mailing list