Opened 18 years ago
Closed 18 years ago
#4047 closed defect (bug) (fixed)
pointless use of preg_match in get_plugins()
Reported by: | m0n5t3r | Owned by: | rob1n |
---|---|---|---|
Milestone: | 2.2 | Priority: | low |
Severity: | normal | Version: | |
Component: | Optimization | Keywords: | |
Focuses: | Cc: |
Description
... patch attached
Attachments (2)
Change History (7)
#1
@
18 years ago
- Component changed from Administration to Optimization
- Keywords has-patch removed
- Milestone changed from 2.3 to 2.2
- Owner changed from anonymous to rob1n
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.
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 :\.