WordPress.org

Forums

WP Native Dashboard
translate front end admin bar option does not work (3 posts)

  1. wildmice
    Member
    Posted 1 year ago #

    I have language packs installed for several languages and everything seems to work fine ... except when i check the option to translate the front end admin bar then the admin bar disappears and you get just a blank space at the top of the page where it should be. It looks like the code at the bottom of the page is not loading to create it, but the css is loading at the top.

    Otherwise a very nice plugin :)

    http://wordpress.org/plugins/wp-native-dashboard/

  2. wildmice
    Member
    Posted 1 year ago #

    Wait a minute. It works in Twentyfourteen so this is probably a theme problem. Don't do anything just yet :)

  3. wildmice
    Member
    Posted 1 year ago #

    Ok, this took some digging. Here is the problem.

    My theme uses session data, and your plugin fails to fetch the admin bar if there is an active session. This is happening in the function on_request_suppressed_admin_bar_translated().

    If i save the session data at the top of that function and destroy the session, then recreate the session and put back the session data at the end of the function, everything works fine.

    While it does work with this hack, this is such a great plugin and so nicely written that i'd really like to stay updated - so prefer to avoid hacking it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Native Dashboard
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.