[wp-trac] [WordPress Trac] #36375: Remove _wp_upload_dir_baseurl()
WordPress Trac
noreply at wordpress.org
Fri Jun 10 16:51:17 UTC 2016
#36375: Remove _wp_upload_dir_baseurl()
----------------------------+------------------------
Reporter: azaozz | Owner: joemcgill
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 4.6
Component: Media | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: | Focuses:
----------------------------+------------------------
Changes (by joemcgill):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"37676"]:
{{{
#!CommitTicketReference repository="" revision="37676"
Media: remove `_wp_upload_dir_baseurl()`.
`_wp_upload_dir_baseurl()` is a private function introduced in 4.4
as part of the "responsive images" feature. It was for runtime
caching of the URL to the uploads directory. It is deprecated in
4.5 with the introduction of `wp_get_upload_dir()`.
Outside core, it's only used as part of a back-compat shim in the
original feature plugin for responsive images (ricg-responsive-images),
which includes its own version of the function definition, so it's
safe to remove from core.
Fixes #36375.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36375#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list