D
D
Denis Sechin2016-08-30 20:21:57
css
Denis Sechin, 2016-08-30 20:21:57

Why did wpadmin get out into the public eye?

Greetings, for some reason, there is a site wpadmin admin panel became visible to everyone who comes in (on top of the login bar), maybe the client clicked something, I know that you can remove it display:none , but then there is an empty space in the place of this bar, and it’s interesting understand why it began to appear?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Immortal_pony, 2016-08-30
@Immortal_pony

I don’t know what was “clicked”, but you can hide it correctly as follows:

if (!current_user_can("manage_options")) {
    show_admin_bar(false);
}

Documentation

A
Alex-1917, 2018-08-09
@alex-1917

Of course the client called! I even know what plugin he clicked. In short, beat the client properly with a club, otherwise you will be crediting his vyser brains)))
Usually they have it on Mondays in the morning, when thoughts accumulate over two days off and hands itch, brains melt, everything itches ... It is treated with catastrophic circumcision in the admin panel of everything and everyone ... There is no way for them to do it there, and if they are so smart, let them eliminate the glitches themselves. I put a couple of such very advanced people in their place by familiarizing themselves with the harsh price tag for additional. work)))) For there is a great desire to write off the elimination of the consequences of crooked climbing under those. support. For nobody!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question