[wp-trac] [WordPress Trac] #48421: Add $unfiltered param to wp_get_original_image_path() and wp_get_original_image_url() functions
WordPress Trac
noreply at wordpress.org
Tue Feb 11 19:29:36 UTC 2020
#48421: Add $unfiltered param to wp_get_original_image_path() and
wp_get_original_image_url() functions
-------------------------+-----------------------------
Reporter: ianmjones | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version: 5.3
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+-----------------------------
Comment (by azaozz):
Agree with @joemcgill and @ianmjones that `wp_get_original_image_path()`
shouldn't be preventing use of `$unfiltered` when getting the attached
file path.
In 48421.diff: pass through `$unfiltered` to `get_attached_file()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48421#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list