[wp-trac] [WordPress Trac] #26992: Failing to make new yyyy/mm for uploads affects existing URLs (WP_CONTENT_URL, wp_get_attachment_url and GUID)
WordPress Trac
noreply at wordpress.org
Wed Oct 8 17:28:24 UTC 2014
#26992: Failing to make new yyyy/mm for uploads affects existing URLs
(WP_CONTENT_URL, wp_get_attachment_url and GUID)
--------------------------+------------------------------
Reporter: tivnet | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by wpdavis):
FYI, this is the original ticket that introduced the code change: #7622
I see no discussion in there as to why to check for the error if just
replacing the basedir with baseurl. I also don't see any cases where
wp_upload_dir() returns an error other than if the directory isn't
writeable.
fwiw, we're using this patch on production right now without problems.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26992#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list