[wp-trac] [WordPress Trac] #17754: preg_match() use is overkill in path_is_absolute()

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 16 00:21:57 UTC 2011


#17754: preg_match() use is overkill in path_is_absolute()
-------------------------+---------------------
 Reporter:  coffee2code  |       Owner:  duck_
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  3.3
Component:  Performance  |     Version:  3.1.4
 Severity:  minor        |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------
Changes (by duck_):

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


Comment:

 In [18551]:
 {{{
 #!CommitTicketReference repository="" revision="18551"
 Replace regex in path_is_absolute() with simpler equality checks. props
 coffee2code. fixes #17754
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17754#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list