[wp-trac] [WordPress Trac] #45290: The equivalent of `gutenberg_wpautop` from Gutenberg plugin is missing in the 5.0 beta
WordPress Trac
noreply at wordpress.org
Wed Nov 7 13:22:04 UTC 2018
#45290: The equivalent of `gutenberg_wpautop` from Gutenberg plugin is missing in
the 5.0 beta
----------------------------------------------------+---------------------
Reporter: nerrad | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: 5.0
Component: Editor | Version: 5.0
Severity: major | Resolution:
Keywords: has-patch needs-testing has-unit-tests | Focuses:
----------------------------------------------------+---------------------
Comment (by nerrad):
@pento I've verified your patch works in testing.
If I'm reading the code correctly, the intention is to remove wpautop from
the callstack so it doesn't execute on that ''current_iteration'' of
`the_content` but re-added for any future non block iterations. Clever.
In the long run the necessity of having this workaround for content with
blocks seems fragile, but for now it works. I'm assuming when classic
editor is no longer a part of core, `wpautop` will no longer be needed?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45290#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list