[wp-trac] [WordPress Trac] #48111: Update usage of `multi_resize` to utilize new `wp_create_image_subsizes()` function

WordPress Trac noreply at wordpress.org
Thu Oct 10 22:25:10 UTC 2019


#48111: Update usage of `multi_resize` to utilize new `wp_create_image_subsizes()`
function
-------------------------------------+---------------------------
 Reporter:  antpb                    |       Owner:  mikeschroder
     Type:  task (blessed)           |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.3
Component:  Media                    |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------------
Changes (by azaozz):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 In 48111.2.patch: use the new `_wp_make_subsizes()` when creating image
 thumbnails for PDFs (untested).

 Unfortunately this is not as straightforward to implement for the image
 editor. It was designed to "wait" for all operations to complete before it
 saves all the meta data, including the meta "backup" for previous versions
 of the image. I'll need a refactoring, best to do in 5.4.

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


More information about the wp-trac mailing list