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

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 24 18:14:24 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 westi):

 Replying to [comment:21 filosofo]:
 > To elaborate, any sane developer trying to address the use of a
 deprecated argument is going to look at both the source of the function
 itself and its use, so even knowing which argument is deprecated isn't
 going to do much.
 >
 > It's good enough to throw a warning identifying the function itself.

 This sounds like a good improvement and will remove the need for multiple
 calls when functions have many deprecated arguments.

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


More information about the wp-trac mailing list