[buddypress-trac] [BuddyPress] #5307: is_page() does not work on BP pages and class names are different
buddypress-trac
noreply at wordpress.org
Fri Jan 10 11:45:18 UTC 2014
#5307: is_page() does not work on BP pages and class names are different
--------------------------+------------------
Reporter: juggledad | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.0
Component: Core | Version: 1.9
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------
Comment (by hnla):
@henrywright
theme compatibility is the issue and as far as I'm aware has never been
able return a value via is_page().
If you have been using is_page() then are you sure you hadn't been
overloading bp templates directly to the parent theme root e.g running my-
theme/members/index.php should effectively disable the theme compat class
and you are no longer operating in that mode where BP looks for the
the_content() to directly inject bp output to.
In bp 1.7 if you run the bp-default theme and add is_page('members') to
the members index template it will return true and in all versions past
and future would continue to do so.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5307#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list