Make WordPress Core

Opened 10 months ago

#58949 new defect (bug)

Directory 'code' missing from 'wp-includes/js/tinymce/plugins'

Reported by: jobst's profile jobst Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.2.2
Component: TinyMCE Keywords:
Focuses: ui, javascript Cc:


Directory 'code' missing from 'wp-includes/js/tinymce/plugins'

It used to be there but it's missing now - i.e. I did NOT receive an error when using the plugin 'code' for tinymce.

I do not know when it stopped to be there.

latest WP version


steps taken to consistently reproduce the problem

If you build a text area using the following code

   <textarea name='commentEditor' id='commentEditor' form='notes-form' class='tinymce-enabled required'>Please wait ...</textarea>
      plugins: 'textcolor lists code ',
      toolbar: 'undo redo formatselect fontsizeselect bold italic underline subscript superscript forecolor backcolor bullist numlist code ',
      mode: 'exact',
      theme: 'modern',
      menubar: false,
      statusbar: false,
      elements: 'commentEditor',
      forced_root_block: '',
      force_br_newlines: false,
      force_p_newlines: false,
      apply_source_formatting: false,
      cleanup: false,
      theme_advanced_statusbar_location: 'bottom',
      theme_advanced_path: false,
      theme_advanced_resizing: true,
      theme_advanced_resize_horizontal: false,
      theme_advanced_resizing_use_cookie : true,
      branding: false

you will receive an error in the web development console section:

  GET https://DOMAIN.COM/wp-includes/js/tinymce/plugins/code/plugin.min.js
  Status 404 Not Found

Does problem occur when all plugins deactivated and use the default theme?


what is the expected output or result? What did you see instead?

The expected outcomes would be:

1) the direcotry and file 'DOMAIN.COM/wp-includes/js/tinymce/plugins/code/plugin.min.js'would be available
2) tinymce would show the code icon
3) no error displayed

additional information

Not that this really matters for this, more related to wordpress version

os: alma 8.8
php: 7.4.33 AND 8.1
browser: not applicable

Change History (0)

Note: See TracTickets for help on using tickets.