[wp-trac] [WordPress Trac] #23091: Need to remove deprecated get_bloginfo('url') from _fix_attachment_links() function

WordPress Trac noreply at wordpress.org
Fri Jan 25 02:09:27 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  |
-----------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => has-patch close
 * type:  defect (bug) => enhancement
 * component:  Warnings/Notices => Administration


Comment:

 [attachment:23091.2.diff] also renames `$site_url` to `$home_url`, to
 prevent confusion.

 However, `get_bloginfo( 'url' )` is not deprecated, only `home` and
 `siteurl` parameters are:
 http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/general-
 template.php#L407

 `url` is still a valid parameter. We use `get_bloginfo( 'url' )` in some
 other places as well.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23091#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list