[wp-trac] [WordPress Trac] #23091: Need to remove deprecated get_bloginfo('url') from _fix_attachment_links() function
WordPress Trac
noreply at wordpress.org
Tue Jan 29 21:51:20 UTC 2013
#23091: Need to remove deprecated get_bloginfo('url') from _fix_attachment_links()
function
-----------------------------+------------------------------
Reporter: hexalys | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch close |
-----------------------------+------------------------------
Comment (by MikeHansenMe):
This is confusing in the codex as it states 'home' is deprecated but 'url'
is on the same line. Then states consider using home_url() instead. I
think the patch is still an improvement as get_bloginfo( 'url' ) returns
home_url() anyway. Seems removing a step is good and could be done other
places in core as well.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23091#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list