Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #48472, comment 2


Ignore:
Timestamp:
10/30/2019 07:56:20 PM (5 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48472, comment 2

    initial v1  
    11In 48472.diff:
    22- Run the `wp_generate_attachment_metadata` filter at the end in `wp_update_image_subsizes()` when new metadata was generated and additional image sub-sizes were created. This ensures consistent behavior with earlier WP versions.
    3 - Add pass another arg in the `wp_generate_attachment_metadata` filter to add context.
     3- Add another arg in the `wp_generate_attachment_metadata` filter to add context.
    44- Fix some inline docs and ensure the new image meta is always saved before starting post-processing.