[wp-trac] [WordPress Trac] #50216: On the bug of replace_editor

WordPress Trac noreply at wordpress.org
Tue May 6 22:34:22 UTC 2025


#50216: On the bug of replace_editor
--------------------------+----------------------
 Reporter:  jack960330    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  5.4.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by jeremyfelt):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi @jack960330 - thanks for the report.

 It's likely this is no longer an issue, as neither Gutenberg or WordPress
 actually uses the `replace_editor` filter to inject any markup. That said,
 if someone has a setup that accidentally hooks into `replace_editor` more
 than once, then there is definitely a chance for duplicate markup and any
 plugin developers should code defensively to account for that.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50216#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list