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

buddypress-trac noreply at wordpress.org
Wed Jan 15 15:11:33 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 henry.wright):

 It seems the reason for the white space is a check I have in
 {{{header.php}}}

 {{{if ( is_page( 'login' )}}}

 This seems to be returning {{{true}}} when on the
 {{{members/username/messages}}} page. Also seems to be returning true when
 on {{{members/username/settings}}}

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


More information about the buddypress-trac mailing list