No need to define $matches when using preg_match and preg_match_all
|Reported by:||kovshenin||Owned by:||nacin|
I noticed that some of the new code in 3.6, especially around post formats, defines an empty $matches variable when using preg_match and preg_match_all. This is not required and we don't do it in a lot of other places in core.
Change History (5)
- Keywords commit added
- Milestone changed from Awaiting Review to 3.6
Note: See TracTickets for help on using tickets.