[wp-trac] [WordPress Trac] #11386: New _deprecated_argument() function
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 24 11:00:45 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
-------------------------+--------------------------------------------------
Changes (by westi):
* keywords: needs-review => commit
Comment:
Looks really good.
The only change I think I would make is to change the behaviour of
{{{$replacement}}} to be a short message where appropriate rather than a
function name or "array".
In most cases there is no message.
In cases like {{{wp_clear_scheduled_hook()}}} we can probably put a short
string which explains the change.
e.g.
"This argument has changed to an array() so as to match with the behaviour
of all the other cron functions."
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11386#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list