[wp-trac] [WordPress Trac] #11652: Use _deprecated_argument() on get_bloginfo()
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 28 07:30:06 UTC 2009
#11652: Use _deprecated_argument() on get_bloginfo()
--------------------------+-------------------------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Inline Docs | Version:
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
_deprecated_argument() (#11386) is flexible enough to be used to mark
deprecated values of function arguments, not just arguments themselves.
We should use it to mark get_bloginfo('siteurl') and get_bloginfo('home')
as deprecated. Patch also changes any uses of those in core to 'url'.
This ticket and patch assumes that the final patch of #11386 is committed
first, which simplifies _deprecated_argument() a bit and makes the
function a bit more flexible.
(Also related, #10805, marking user levels as deprecated.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11652>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list