[wp-trac] [WordPress Trac] #28575: Eliminate redundant preg_match() to improve wptexturize() performance

WordPress Trac noreply at wordpress.org
Thu Jun 19 00:00:29 UTC 2014


#28575: Eliminate redundant preg_match() to improve wptexturize() performance
------------------------------+-----------------------------
 Reporter:  dllh              |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.0
Component:  Formatting        |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  performance
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28776"]:
 {{{
 #!CommitTicketReference repository="" revision="28776"
 Move preg_match() that should only run once out of the loop.

 props dllh.
 fixes #28575.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28575#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list