[buddypress-trac] [BuddyPress Trac] #5307: is_page() does not work on BP pages and class names are different

buddypress-trac noreply at wordpress.org
Thu Jan 16 10:32:27 UTC 2014


#5307: is_page() does not work on BP pages and class names are different
--------------------------+-----------------------
 Reporter:  juggledad     |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  2.0
Component:  Core          |     Version:  1.9
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------

Comment (by hnla):

 >I wonder how many people will be using is_page with root profiles?

 Extremely few I would have thought and those that might would probably
 simply drop in another solution.

 I'm not sure I would be using is_page() as a conditional in this manner?
 Tending to wonder whether I would use it at all in BP terms, yes in other
 WP scenarios perhaps.

 Also I'm wondering whether your use case isn't covered by the work done in
 1.8 to further refine the template hierarchy in theme compat templates?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5307#comment:21>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list