#6231 closed defect (bug) (wontfix)
is_page('header-2') returns true
Reported by: | isharis | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.2.1 |
Component: | Core | Keywords: | |
Cc: |
Description
Theme; Twenty Fifteen
BuddyPress: 2.2.1
Add is_page('header-2') to header.php of the theme which will return true on the buddypress user profile page which is extremely strange.
Change History (2)
Note: See
TracTickets for help on using
tickets.
This issue is fixed in:
https://core.trac.wordpress.org/attachment/ticket/24674/24674.ray.patch
BP had to set page ID's to zero for Dirs this induced a WP bug which is now patched.