1

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.

https://example.com/wp-admin/load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,suggest,wp-ajax-response,jquery-color,wp-lists,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,postbox,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbone,wp-util,wp-backbone,media-m&load[]=odels,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-p&load[]=ainter,wp-auth-check,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,jquery-ui-datepicker,quicktags,wp&load[]=link,media-upload,wp-embed&ver=4.8.2

And here is an example from a working site.

https://example.com/load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,suggest,wp-ajax-response,jquery-color,wp-lists,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,postbox,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbone,wp-util,wp-backbone,media-m&load[]=odels,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-p&load[]=ainter,wp-auth-check,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,jquery-ui-datepicker,editor,quick&load[]=tags,wplink,media-upload,wp-embed&ver=4.8.2

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.

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

1 Answer 1

1

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).

2
  • 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. Commented Oct 18, 2017 at 14:21
  • This is a bug. load-scripts.php not load all scripts.
    – Yamona
    Commented Nov 8, 2017 at 12:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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