Make WordPress Core

Opened 6 months ago

#50216 new defect (bug)

On the bug of replace_editor

Reported by: jack960330 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4.1
Component: Editor Keywords:
Focuses: Cc:


I'll submit a suspected bug, replace_editor seems that editor's hook will load twice when loading the existing articles, which makes me have to deal with the code. In wp5.3, I have to use js to delete the unnecessary DOM, and at the same time, my katex's auto renderer cannot work properly (browser recognition is executed in weird mode). In wp5.4.x, because $post is null in this case, I can
directly return through judgment. But this is not normal. I will send the message to the core channel at the same time.

Change History (0)

Note: See TracTickets for help on using tickets.