For some reason, Wordpress admin is not loading all of the required scripts via load-scripts.php. This is causing the "Visual/Text" tabs to be missing from the text editor. The 'b', 'i', 'link', etc button are still there and functioning for the HTML editor. I have triple checked and all users are setup to use the visual editor.

Here is what load-scripts.php is loading on the broken site.


And here is an example from a working site.


As you can see, 'editor' is missing for some reason. 'Editor' is also missing if I load the scripts separately by adding:

define('CONCATENATE_SCRIPTS', false);

Any input is greatly appreciated. Thanks.

  • try to desactivate all plugins and put the basic theme to see is the error is still here
    – mmm
    Oct 17 '17 at 22:37
  • @mmm Yes I tried that and still no editor. Oct 18 '17 at 14:29
  • try to reinstall the wordpress files in "Dashboard" => "Updates" and click on "Re-install now"
    – mmm
    Oct 18 '17 at 14:53
  • @mmm Just tried reinstalling and still no editor. Oct 18 '17 at 15:02

If there's a bug the Visual tab would just not work, not be missing. The editor scripts would also be failing to load, not missing from load-scripts.php. That the tabs are missing and the script isn't being loaded suggests that the Visual editor has simply been disabled in your profile (Users > Your Profile).

  • Thanks for the input @Jacob. I verified that the editor is not disabled via the user's profile. I even enabled then disabled it and no change. The output of wp_default_editor() is tinymce. Oct 18 '17 at 14:21
  • This is a bug. load-scripts.php not load all scripts.
    – Yamona
    Nov 8 '17 at 12:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.