[wp-trac] [WordPress Trac] #50683: Parse content for shortcodes instead of using regex
WordPress Trac
noreply at wordpress.org
Sat Jul 18 21:48:17 UTC 2020
#50683: Parse content for shortcodes instead of using regex
--------------------------------------+---------------------
Reporter: cfinke | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.6
Component: Shortcodes | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Changes (by cfinke):
* Attachment "shortcode-parser.4.diff" added.
Optimizes inner content parsing by skipping ahead to the next bracket
inside the content. This improves this parser's performance on the above-
mentioned speed test suite to about 0.05 seconds total.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50683>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list