[wp-trac] [WordPress Trac] #11388: Deprecated functions: Formally deprecate and/or move to deprecated.php
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 7 09:46:51 UTC 2010
#11388: Deprecated functions: Formally deprecate and/or move to deprecated.php
-------------------------+--------------------------------------------------
Reporter: nacin | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: 3.0
Component: Inline Docs | Version: 2.9
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by nacin):
Some functions in {{{wp-includes/deprecated.php}}} came from wp-admin,
though I do understand what you're saying. If we are to account for that,
I would suggest an {{{is_admin()}}} check around the function define,
instead of a new file.
I would have recommended the same thing for the new multisite {{{ms-
deprecated.php}}} file, but it'll be much easier to maintain a separate
file during the merge, and also easier for MU site admins and plugin
authors to transition to WP+MS if they're all in the same place.
I've noticed {{{login_pass_ok()}}} before but I'm not sure how the print
of a PHP notice would affect an XMLRPC request so I left it alone.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11388#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list