[wp-trac] [WordPress Trac] #48302: Big Image: Provide function to get original file URL
WordPress Trac
noreply at wordpress.org
Tue Oct 15 16:04:24 UTC 2019
#48302: Big Image: Provide function to get original file URL
--------------------------+---------------------
Reporter: kraftbj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by kraftbj):
> Would it be better to just improve wp_get_attachment_image_url()
Open to it. I went, in part, on the prior art of
`wp_get_original_image_path()` coupled with wanting to avoid figuring out
a potential conflict with someone having set an "original" additional
image size.
Since the original image isn't technically an image size in how WP stores
that, I felt okay to not try to stuff too much together.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48302#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list