[wp-trac] [WordPress Trac] #32117: wp_get_attachment_metadata sizes array file misses path if using year/month organizing
WordPress Trac
noreply at wordpress.org
Fri Oct 9 12:34:36 UTC 2015
#32117: wp_get_attachment_metadata sizes array file misses path if using year/month
organizing
--------------------------+------------------------------
Reporter: thomask | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by thomask):
Replying to [comment:1 jnz31]:
> seems like they updated this function by adding the 'url' parameter (i
have wp 4.3.1 installed), but that one is wrong too, since it's missing
the path to the correct folder. this is what i have, the whole "wp-
content/uploads/YYYY/MM" is missing:
i think this is expected and right behaviour. $upload_dir may vary e.g.
using CDN etc. Path is the crucial part.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32117#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list