They might have done it through CSS or jQuery even so you’ll have to search pretty much all over the place search in your files for ‘content-tmce’ that’s the # of the ‘Visual’ button in case they have changed it in a weird way.
—- Edit —-
An easy way to check if you have chrome would be to Right Click and Inspect on the ‘Text’ button and check the code if there’s another button there hidden or something 🙂
—–
—– Edit 2 —-
Sorry I’m at work and I scroll through the forum like a maniac sometimes missing something. As I understand the button actually exists but it just doesn’t do anything right?
First of all updating WordPress wouldn’t mess with their custom plugin or template so it wouldn’t reset the disabled button no. Only if they had messed with core files.
If you see a button but it’s not clickable search for something like this:
jQuery("#content-tmce") or $("#content-tmce")
They probably disabled it through a script.
——
Hope this helps.
Best regards,
Konstantinos
Hello Konstantinos!
Thank you very much! No, there is no button whatsoever, here is hot it looks like:
Screenshot
If the jQuery strings I gave you didn’t return anything the next thing to search would something like ['quicktags'] = false or 'quicktags' => false… Or search for ‘quicktags’ in their custom theme / plugins for that matter in case they disabled them that way…
It’s really hard to pinpoint it as there is no access to the files ( and there won’t be ) I’m trying to think of different ways to see what’s up..
another good theory would be to just disable the plugins and themes and just load a default theme to see if they appear again.. At least that way you’ll know that their code is run through a theme/plugin.. If not it might be in some core file in a weird way.
Best regards,
Konstantinos
Hello!
I have finally made some progress!
Interestingly, I did not find anything in the plugin or theme code. I have tried searching for the terms you provided, and also tried deactivating all plugins and changing to twentyfifteen, but nothing solved the issue.
I remembered, that there is an option in your user dashboard where you can set this as a setting, so I have gone there. The Disable the visual editor when writing checkbox was not checked, so it would suggest it is enabled. When I tried checking it and saving, to disable the editor, it would save, but after the reload the checkbox would be unchecked again. This got me thinking, so I created a new admin user, logged in with that, and that new user did have the visual editor enabled. So I guess they have made some kind of modifications tied to that specific user inside the database…
It would be the best if I could find what it is, it would be a pain in the back to migrate everything to an other admin account… Do you have maybe some ideas what could I check?
I would personaly check the database just in case there’s something wrong with the field that this option gets saved or the option code in the php files. But to be honest I have no idea where it could be to help you with that.
At least you made a start, good to hear!
Best regards,
Konstantinos