[buddypress-trac] [BuddyPress Trac] #5418: theme compatibility still a problem even after #5301 patch

buddypress-trac noreply at wordpress.org
Fri Feb 21 21:51:51 UTC 2014


#5418: theme compatibility still a problem even after #5301 patch
--------------------------+------------------------------
 Reporter:  chochal       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  Awaiting Review
Component:  Theme         |     Version:  1.9.2
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by henry.wright):

 > I'll be curious to hear what henry.wright says about his use of
 is_page()

 I use {{{is_page()}}} mainly in my functions.php file to enqueue various
 JavaScript files conditionally (instead of loading the resource site-
 wide). I also get my money's worth out of {{{is_single()}}},
 {{{is_user_logged_in()}}} and quite a few more of these sort of functions.

 Regarding false positives, {{{is_page}}} always returns {{{true}}} in BP
 1.9.2 when used on a BP component page - but only when I have root
 profiles enabled.

 See this ticket for some background:
 https://buddypress.trac.wordpress.org/ticket/5307

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


More information about the buddypress-trac mailing list