[buddypress-trac] [BuddyPress Trac] #6527: BP mangles $wp_query when viewing member's profile
buddypress-trac
noreply at wordpress.org
Tue Jun 23 22:21:38 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 |
---------------------------------+------------------------------
Changes (by r-a-y):
* keywords: => 2nd-opinion
Comment:
Your best option is to test if you're on a BP user page with the
conditional `bp_is_user()` function instead of having to do checks on
`$wp_query`.
The same function for testing if you're on a single group page is
`bp_is_group()`.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6527#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list