[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 23:10:56 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 filosofo):
I don't object to the deprecated warnings, but it might just be better to
address each of these individually.
For example, with get_the_author() we could cast the new author ID
argument to integer, and that would effectively ignore any old-style
arguments.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11386#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list