“You don’t have permission” bug revisited
A few months ago, I wrote an extensive article about a problem that can occur in WordPress due to certain server configurations. This problem causes several issues in the Admininistration Panel, such as You don’t have permission to do that and Are you sure you want to edit this page: “”?.
The solution I offered solves the problem in most cases, but it wasn’t really good. Main reason: I provided a patch for a pluggable function! Secondly, the solution was less secure than the original.
However, I have returned to this issue to come up with a better solution. Behold, a plugin to fix this problem! No need to modify any WordPress files (now we can upgrade like any other WordPress user
), just upload the plugin and activate it.
I have also improved the fix: it is now just as secure as the original one. You should check out the code if you want to know why. ![]()
Kovacs on August 31st, at 7:25 am •
tom on September 20th, at 10:19 am •
Bas on September 20th, at 10:28 am •
Great Leader on September 24th, at 10:06 pm •
Rashy on September 27th, at 7:44 pm •
Bas on September 27th, at 7:50 pm •
Rashy on September 27th, at 10:30 pm •
Aguila on September 30th, at 1:56 am •
Kovacs on October 6th, at 1:41 am •
Kovacs on November 4th, at 4:03 pm •
Matheus Siqueira on December 20th, at 8:21 pm •
Liz B on December 21st, at 6:44 pm •
Tyler Thompson on December 22nd, at 4:45 am •
Kovacs on January 4th, at 12:31 am •
Joe Chung on January 7th, at 8:47 am •
Bas on January 24th, at 9:06 pm •
Michael Calabrese on January 25th, at 7:23 pm •
artur on January 27th, at 12:55 am •
Vall on February 27th, at 1:03 am •
BJ on February 27th, at 1:18 am •
Bas on February 27th, at 1:16 pm •
Meerblickzimmer on March 13th, at 1:46 pm •
mccormicky on March 19th, at 11:51 am •
mccormicky on March 19th, at 11:57 am •
affa on March 20th, at 5:19 am •
mccormicky on March 21st, at 2:51 pm •
Bas on March 26th, at 1:17 am •
affa on March 28th, at 3:58 am •
Robert on April 4th, at 11:44 am •
Bas on April 4th, at 2:56 pm •