[buddypress-trac] [BuddyPress Trac] #7554: Wordpress Logged in user not working on buddy press profile page

buddypress-trac noreply at wordpress.org
Wed Jun 28 07:45:38 UTC 2017


#7554: Wordpress Logged in user not working on buddy press profile page
--------------------------+-----------------------------
 Reporter:  charulasha    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  highest       |  Milestone:  Awaiting Review
Component:  Core          |    Version:  2.8.2
 Severity:  normal        |   Keywords:  needs-testing
--------------------------+-----------------------------
 <?php

     $loggedIn = 'false';

     if(!is_user_logged_in()){
         $loggedIn = 'false';
     }else{
         $loggedIn = 'true';
     }

     ?>

 above code works fine in wordpress pages, but if i go inside a public
 profile in buddypress it does not work. please any help. Thank you

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7554>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list