[wp-trac] [WordPress Trac] #48302: Big Image: Provide function to get original file URL
WordPress Trac
noreply at wordpress.org
Tue Oct 15 18:54:12 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:
--------------------------+---------------------
Changes (by azaozz):
* milestone: 5.4 => 5.3
Comment:
Replying to [comment:9 kraftbj]:
> The primary use case I had in mind is for lightbox or image carousel
plugins will sometimes have a "View Original" or similarly worded link to
the full-size image so visitors can edit it, print it, etc.
Okay, lets fix this. There was almost identical function in the initial
patch on #47873. It didn't get in as it wasn't used in core, but making it
easier for plugins is better. Otherwise we'll end up with plugins adding
their own, identical functions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48302#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list