I’ve had an issue recently where the wordpress visual editor stopped working. The code editor worked fine, but the visual button just didn’t do anything at all. I knew it wasn’t a server setting because it impacted 2 of 5 wordpress sites on the server, but the others worked fine. I tried deleting and copying fresh copies of “wp-includes” and “wp-admin” in case something had got corrupted but this didn’t resolve the problem either.
I also tried creating a new user, which loaded with the visual editor activated. However, as soon as I switched to the text editor I got stuck and couldn’t switch back.
I tried disabling all plugins, and changing theme, but neither of these helped, although this might be due to extensive use of caching on the live site.
Eventually I found a suggestion on WPGuru to add a setting to wp-config.php which did the trick.
This suggests that one of the scripts on the 2 affected sites isn’t operating correctly so I will try to track this down. The strange this is that it can’t be a built-in script because I re-copied the wp-admin and wp-includes folders, but it also shouldn’t be a theme or plugin as I switched to a default theme and disabled all plugins! Very strange!
When I have time I will investigate further to pinpoint the problem script and will update this post accordingly. My best guess at the moment is that it is hiding in the wp-content directory structure somewhere
What do you think? Drop us a comment below! If you would like to subscribe please use the subscribe link on the menu at the top right. You can also share this with your friends by using the social links below. Cheers.