[wp-trac] [WordPress Trac] #17754: preg_match() use is overkill in path_is_absolute()
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 10 18:48:59 UTC 2011
#17754: preg_match() use is overkill in path_is_absolute()
-------------------------+------------------------------
Reporter: coffee2code | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Performance | Version: 3.1.4
Severity: minor | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by duck_):
Like the patch, but our coding standards (or at least standard usage) are
for array style access to characters i.e. `$str[0]`. See #13900.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17754#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list