Sudden unexplained deletion of classic-editor.php?
-
Just wanted to share my experience in case anyone else experienced the sudden loss of the classic editor today — something I discovered only when going to add a new post on our site this afternoon and found the block editor active instead.
I looked at our WP Security audit log and didn’t see any plugin changes to do with classic-editor. I checked the file manager in our cPanel and looked for recent plugin updates and did find that the classic-editor directory had recently been touched early this morning. A look inside and I found the classic-editor.php file missing. At first I thought, maybe it was impacted by a recent plugin update — but nothing else appeared to have changed; no other plugin updates around the time the directory was touched earlier this morning. I copied back the classic-editor.php from a recent backup (0644) and everything is working as normal again. For safety, I also copied over a backup of block-editor-plugin.js (also 0644).
If everyone else’s Classic Editor is working fine, then all I can do is shrug and accept this as a mystery. Please let me know if I should do anything else (i.e., uninstall/reinstall Classic Editor from the admin backend, or change the file permissions of the php and js from 0644 to 0755). — and thank you.
- The topic ‘Sudden unexplained deletion of classic-editor.php?’ is closed to new replies.