[wp-trac] [WordPress Trac] #11386: New _deprecated_argument() function

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 10 14:08:45 UTC 2010


#11386: New _deprecated_argument() function
------------------------------+---------------------------------------------
 Reporter:  nacin             |        Owner:  westi 
     Type:  enhancement       |       Status:  closed
 Priority:  normal            |    Milestone:  3.0   
Component:  Inline Docs       |      Version:        
 Severity:  normal            |   Resolution:  fixed 
 Keywords:  has-patch commit  |  
------------------------------+---------------------------------------------

Comment(by strider72):

 I thought the $version argument was being added to the end of the
 arguments for backwards compatibility?

 Because in trunk WP, $version is the middle of the three, e.g. in
 _deprecated_function:

 {{{$function, $version, $replacement=null}}}

 shouldn't that be:

 {{{$function, $replacement=null, $version=null}}}

 ?

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


More information about the wp-trac mailing list