[wp-trac] [WordPress Trac] #13874: Add package argument to "_deprecated_function" function

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 14 14:05:10 UTC 2010


#13874: Add package argument to "_deprecated_function" function
------------------------------+---------------------------------------------
 Reporter:  johnjamesjacoby   |       Owner:           
     Type:  enhancement       |      Status:  new      
 Priority:  normal            |   Milestone:           
Component:  Warnings/Notices  |     Version:           
 Severity:  normal            |    Keywords:  has-patch
------------------------------+---------------------------------------------

Comment(by demetris):

 My concern is not so much backwards compatibility as readability.

 The way you added it is more logical and makes it easier and more readable
 for the few external scripts that will use the function;  core code, on
 the other hand, is more compact and more readable when it uses the default
 value of an argument that comes after all arguments that it has to define.

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


More information about the wp-trac mailing list