[wp-trac] [WordPress Trac] #27350: Invalid HTML Output
WordPress Trac
noreply at wordpress.org
Tue Jul 2 03:28:12 UTC 2019
#27350: Invalid HTML Output
----------------------------------------------+---------------------
Reporter: miqrogroove | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Formatting | Version: 3.8
Severity: normal | Resolution: fixed
Keywords: wpautop has-patch has-unit-tests | Focuses:
----------------------------------------------+---------------------
Comment (by pento):
In [changeset:"45587" 45587]:
{{{
#!CommitTicketReference repository="" revision="45587"
Formatting: Improve performance of `wpautop()` on large paragraphs.
Following [45585], older versions of PHP could segfault when attempting to
autop paragraphs with 10,000+ characters.
Rather than having to negative lookahead for every character in the
paragraph (which could run into recursion limits), we can quickly jump
ahead to the next tag and start checking from there.
See #27350.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27350#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list