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)
Note: See TracTickets for help on using tickets.