[wp-trac] [WordPress Trac] #34488: REST API: Save some preg_match iterations
WordPress Trac
noreply at wordpress.org
Wed Nov 4 21:22:23 UTC 2015
#34488: REST API: Save some preg_match iterations
-------------------------------------+-----------------------------
Reporter: TobiasBg | Owner: wonderboymusic
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"35514"]:
{{{
#!CommitTicketReference repository="" revision="35514"
REST API: in `WP_REST_Server::dispatch()`, move `preg_match()` out of it's
current loop, which doesn't affect the context passed to it.
Props TobiasBg.
Fixes #34488.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34488#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list