[SAC] [OSGeo] #2080: wp site login out-of-synch
OSGeo
trac_osgeo at osgeo.org
Sun Jan 14 08:21:03 PST 2018
#2080: wp site login out-of-synch
-----------------------+---------------------------
Reporter: darkblueb | Owner: webcom@…
Type: defect | Status: new
Priority: normal | Milestone: Website v2.1
Component: WebSite | Resolution:
Keywords: auth |
-----------------------+---------------------------
Comment (by cvvergara):
Process
Click Sign In: Takes you to the Log in screen
Click Log in button ( on the log in screen) take you to the Dashboard
(user status signed in)
Click Visit site: takes you to the home page
The issue us "Sign In" message shows even that the user is logged in
Clicking on Sign In again, takes you to the dashboard skipping the the Log
in screen.
The menu that supports that code
From:
themes/roots/templates/header-top-navbar.php
{{{
<?php
wp_nav_menu(
array(
'menu' => 'metamenu',
'container' => FALSE,
'container_id' => FALSE,
'menu_class' => '',
'menu_id' => FALSE,
'depth' => 1,
'menu_class' => 'metamenu list-inline'
)
);
?>
}}}
So maybe have a: (using pseudocode)
{{{
If (user_is_signed_in())
'menu_class' => 'metamenu list-inline_no_sign_in_msg'
else
'menu_class' => 'metamenu list-inline'
}}}
OR a
wonder if the user can go back to the Dashboard
{{{
If (user_is_signed_in())
'menu_class' => 'metamenu list-inline_with_Dashboard_msg'
else
'menu_class' => 'metamenu list-inline'
}}}
Is there a plugin that does this?
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2080#comment:7>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list