Skip to:
Content

BuddyPress.org

Opened 7 years ago

Closed 7 years ago

#7554 closed defect (bug) (no action required)

Wordpress Logged in user not working on buddy press profile page

Reported by: charulasha's profile charulasha Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc:

Description

<?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

Change History (1)

#1 @r-a-y
7 years ago

  • Keywords needs-testing removed
  • Milestone Awaiting Review deleted
  • Priority changed from highest to normal
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 2.8.2 deleted

User posted in support forums and said that issue is resolved:
https://buddypress.org/support/topic/wordpress-is_user_logged_in/

Note: See TracTickets for help on using tickets.