[wp-trac] [WordPress Trac] #34379: Responsive Images: Streamline wp_get_attachment_image_sizes()

WordPress Trac noreply at wordpress.org
Thu Oct 22 16:45:38 UTC 2015


#34379: Responsive Images: Streamline wp_get_attachment_image_sizes()
------------------------------+--------------------------
 Reporter:  joemcgill         |       Owner:  joemcgill
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  performance
------------------------------+--------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"35355"]:
 {{{
 #!CommitTicketReference repository="" revision="35355"
 Media: in `wp_get_attachment_image_sizes()`, to streamline and for
 performance:

 * Change the 3rd arg from `args` to `width`
 * Change `wp_image_sizes_args` filter to `wp_get_attachment_image_sizes`

 Updates unit tests.

 Props joemcgill.
 Fixes #34379.
 }}}

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


More information about the wp-trac mailing list