[wp-trac] [WordPress Trac] #11386: New _deprecated_argument() function
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 9 05:50:43 UTC 2010
#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: has-patch
-------------------------+--------------------------------------------------
Comment(by nacin):
Replying to [comment:37 strider72]:
> Okay, to be more consistent with the others, that should probably be:
>
> do_action('deprecated_argument_run', $function, $message, $version);
It would have to be added to the end for back compat reasons.
I patched this at one point but never got around to creating a ticket for
it. I think I figured at the time that I would wait until all version
numbers were in. At this point, I've patched all function and argument
versions, I just need patches committed here and in #11388.
While I'm here, I should cross-reference #11815 - we need to remove a
_deprecated_argument() call because it doesn't work well with a default
filter that calls the function.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11386#comment:38>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list