Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: version 2.2.0 and is_page() [Resolved]

@r-a-y

Keymaster

In BuddyPress 2.2.0, we set all BP pages to page ID of zero.

This showcases the “is_page( 'ANYSLUG' ) returning true” bug in WordPress when the page ID is zero:
https://core.trac.wordpress.org/ticket/24674

I would recommend applying this simple one-word patch to WP core temporarily:
https://core.trac.wordpress.org/attachment/ticket/24674/24674.2.diff

Or you can use is_buddypress() to test if you’re on a BP page as well.

Skip to toolbar