[wp-trac] [WordPress Trac] #51780: Add ability to easily get path to sized images (such as parameter to get_attached_file() or wp_get_attachment_thumb_file())
WordPress Trac
noreply at wordpress.org
Fri Feb 3 19:23:56 UTC 2023
#51780: Add ability to easily get path to sized images (such as parameter to
get_attached_file() or wp_get_attachment_thumb_file())
---------------------------------------------+------------------------
Reporter: paulschreiber | Owner: joedolson
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.2
Component: Media | Version: 5.5.3
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+------------------------
Changes (by joedolson):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"55217" 55217]:
{{{
#!CommitTicketReference repository="" revision="55217"
Media: Pass `$size` argument to `get_attached_file` filter.
Pass the new `$size` argument on `get_attached_file()` to
`get_attached_file` filter. Follow up to [55199].
Props SergeyBiryukov, joedolson.
Fixes #51780.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51780#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list