[wp-trac] [WordPress Trac] #50683: Parse content for shortcodes instead of using regex
WordPress Trac
noreply at wordpress.org
Sun Jul 19 01:50:48 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.5.diff" added.
Improves speed again by fast-forwarding to the end of the content if there
are no more brackets after a shortcode is found. Benchmark time is about
0.027 seconds.
--
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