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

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 24 17:25:38 UTC 2009


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

Comment(by filosofo):

 What's the point of the "argument name" argument of the
 _deprecated_argument() function?  In almost all your examples, you pass
 the string "deprecated" or "deprecated_1" except for one I think where you
 pass "args."

 Is that really of much use? Wouldn't it be good enough to say something
 like "Warning, function x is being called with a deprecated argument.
 Instead, use ...."?

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


More information about the wp-trac mailing list