admin管理员组

文章数量:1327849

I'm running into a Major trouble.

Today I found out that when visiting a specific URL on my website, the admin toolbar shows up. Also for people who are not logged in. It appears that the visitor is logged in, but that's not true. All the links in the toolbar go to a 404 page. However, important information is being shown, like how many plugins need an update and even my login name.

Is anyone familiar with this?

Since it is a corporate website, I need a fix as soon as possible. (due to security reasons I won't post the exact url in public)

I'm running into a Major trouble.

Today I found out that when visiting a specific URL on my website, the admin toolbar shows up. Also for people who are not logged in. It appears that the visitor is logged in, but that's not true. All the links in the toolbar go to a 404 page. However, important information is being shown, like how many plugins need an update and even my login name.

Is anyone familiar with this?

Since it is a corporate website, I need a fix as soon as possible. (due to security reasons I won't post the exact url in public)

Share Improve this question edited Mar 31, 2014 at 14:05 s_ha_dum 65.6k13 gold badges84 silver badges174 bronze badges asked Mar 31, 2014 at 13:09 stefanlukstefanluk 213 bronze badges 6
  • 1 Never seen this but I assume that your theme or a plugin is doing something wrong, or caching is causing trouble maybe. Do you have this problem with a bundled theme like Twenty Fourteen? – s_ha_dum Commented Mar 31, 2014 at 14:07
  • 1 Also: Does it only happen on your machine and the same browser you have been logged in before? – kraftner Commented Mar 31, 2014 at 14:09
  • @kraftner Yes it happened on other machines with other browsers (including my smartphone) which have never been used to log in. – stefanluk Commented Apr 2, 2014 at 11:13
  • @s_ha_dum Thanks! It was the W3 Total Cache plugin that I use. I've found that the CSS file that styled the toolbar on that specific page was in a cache folder of this plugin. So problem solved. – stefanluk Commented Apr 2, 2014 at 11:15
  • you like display adminbar when user not login? ya user login then display admin bar please specify? – Ravi Patel Commented Apr 2, 2014 at 11:50
 |  Show 1 more comment

1 Answer 1

Reset to default 1

Apparently the W3 Total Cache plugin caused this problem. I tried removing the toolbar via CSS by using display:none;. When this didn't worked, I found that the CSS that styled the toolbar was in one of the cache folders of this plugin.

本文标签: Admin toolbar shows up when not logged in