[wp-trac] [WordPress Trac] #24222: No need to define $matches when using preg_match and preg_match_all

WordPress Trac noreply at wordpress.org
Mon Apr 29 14:48:32 UTC 2013


#24222: No need to define $matches when using preg_match and preg_match_all
------------------------------+------------------
 Reporter:  kovshenin         |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  low               |   Milestone:  3.6
Component:  General           |     Version:
 Severity:  minor             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by nacin):

 In [changeset:"24129"]:
 {{{
 #!CommitTicketReference repository="" revision="24129"
 Variables passed by reference do not need to be set first.

 props kovshenin.
 see #24222.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24222#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list