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

buddypress-trac noreply at wordpress.org
Tue Jun 23 22:16:34 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               |   Keywords:
---------------------------------+-----------------------------
 Hi guys,

 Mike here from WishList Products. We have a customer that filed a support
 request saying that WishList Member cannot protect the BP member's profile
 page (ex. `sitename.com/members/membername`)

 I investigated the issue and found out though BP successfully loads the
 page, `is_404()` actually returns true.

 Our plugin already makes use of `template_redirect` as recommended in
 #6230 but this doesn't seem to work with the member's profile page. The
 issue apparently is WP returns a 404 because `/members/membername` does
 not exist thus the `is_404()` thing.

 This prevents plugins that deal with the parent page from functioning
 properly such as WishList Member.

 I wonder if BP should just load the content of the parent page and just
 modify its content? Not sure what trouble this would entail (hopefully not
 much).

 Thoughts?

 Thanks.

 Mike

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


More information about the buddypress-trac mailing list