[wp-trac] Re: [WordPress Trac] #4047: pointless use of preg_match in
get_plugins()
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 30 14:22:23 GMT 2007
#4047: pointless use of preg_match in get_plugins()
--------------------------+-------------------------------------------------
Reporter: m0n5t3r | Owner: rob1n
Type: defect | Status: assigned
Priority: low | Milestone: 2.2
Component: Optimization | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by rob1n):
* keywords: has-patch =>
* status: new => assigned
* component: Administration => Optimization
* owner: anonymous => rob1n
* milestone: 2.3 => 2.2
Comment:
The point of the preg_match is to grab any filename that STARTS with ".".
New patch coming up. But I agree -- pointless use of preg_match. WP's code
has quite a few of those :\.
--
Ticket URL: <http://trac.wordpress.org/ticket/4047#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list