[wp-trac] [WordPress Trac] #11386: Remove $deprecated = '' arguments that don't affect argument order
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 14 04:58:52 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 close
--------------------------+-------------------------------------------------
Comment(by strider72):
Here's an idea -- How about adding a "deprecated" flag when deprecated
parameters are used?
function( $deprecated=null ) {
if ($deprecated) { _deprecated_parameter() }
}
I forget the "flag deprecated" function off the top of my head, but I
think you get the point. Perhaps we need a new one to go with "deprecated
function" and "deprecated file" functions...?
Then as will functions and files, we can eventually clear these away with
a clear conscience.... :-)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11386#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list