[wp-trac] [WordPress Trac] #36375: Remove _wp_upload_dir_baseurl()

WordPress Trac noreply at wordpress.org
Thu Jun 9 13:49:29 UTC 2016


#36375: Remove _wp_upload_dir_baseurl()
----------------------------+------------------------
 Reporter:  azaozz          |       Owner:  joemcgill
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  4.6
Component:  Media           |     Version:  4.4
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------
Changes (by joemcgill):

 * keywords:  needs-patch =>


Comment:

 [attachment:36375.diff] removes this function from core. I checked the
 feature plugin, RICG Responsive Images plugin, which is the only place
 this is used outside of core, and there it is used as part of a back-
 compat shim that only gets loaded on pre-4.4 versions of WordPress. The
 plugin also includes its own version of this function definition for those
 cases as well, so it is safe to remove from core without any changes to
 the plugin.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36375#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list