[wp-trac] [WordPress Trac] #55693: TinyMCE WordPress plugin contains unnecessary code

WordPress Trac noreply at wordpress.org
Sat May 7 08:08:56 UTC 2022

#55693: TinyMCE WordPress plugin contains unnecessary code
 Reporter:  MattyRob     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Editor       |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
 I hope I am correct here, I have been tracking through a long trail of
 changes, but...

 Changeset 43336 added some line breaks corrects implemented in the case
 that `hasWpautop` evaluated to false.

 This seems to have been linked to the
 `gutenberg_disable_editor_settings_wpautop` function in the Gutenberg
 plugin at version 2.7, but is seems this same function was removed in
 Gutenberg 5.2.0.

 A shim for this was added and then removed in Gutenberg itself, the
 removal once 4336 was merged to WordPress.

 So, my question / issue is, is it time to remove 43336 from the core
 WordPress code?

 References to some useful links that support the above are listed below.


Ticket URL: <https://core.trac.wordpress.org/ticket/55693>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list