Opened 9 years ago
Closed 9 years ago
#7554 closed defect (bug) (no action required)
Wordpress Logged in user not working on buddy press profile page
| Reported by: | charulasha | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Severity: | normal | 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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
User posted in support forums and said that issue is resolved:
https://buddypress.org/support/topic/wordpress-is_user_logged_in/