[wp-trac] [WordPress Trac] #11386: Remove $deprecated = '' arguments that don't affect argument order

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 12 17:53:34 UTC 2009


#11386: Remove $deprecated = '' arguments that don't affect argument order
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Inline Docs   |     Version:           
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by strider72):

 A potential problem with this is if a new argument is later added to the
 function.  Then you could have old plugins passing data to the missing
 parameter, but the new version of the function accepting it as the new
 parameter.  Might mess things up.

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


More information about the wp-trac mailing list