[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
Wed Mar 1 00:34:32 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 2nd-        |     Focuses:
  opinion changes-requested                      |
-------------------------------------------------+-------------------------
Changes (by azaozz):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55437" 55437]:
 {{{
 #!CommitTicketReference repository="" revision="55437"
 Media: Revert the addition of a `$size` parameter to
 `get_attached_file()`.

 Reverts [55199], [55202], and [55217] but keeps the updated docs.

 Props: flixos90, joedolson, azaozz.
 Fixes: #51780.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51780#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list