Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54192, comment 6


Ignore:
Timestamp:
10/05/2021 02:13:11 PM (3 years ago)
Author:
hellofromTonya
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54192, comment 6

    initial v1  
    88Does this resolve the ticket and your test case? Or is it still not generating the `srcset` and `size`?
    99
    10 If the problem remains, check the `_wp_attachment_metadata` for the attachment (see the code on about L1226. Is it an array? If no, then the generation is skipped.
     10If the problem remains, check the `_wp_attachment_metadata` for the attachment (see the [https://github.com/WordPress/WordPress/blob/07139653b9f1b8b1cc88195b971e96597fbc8b10/wp-includes/theme.php#L1226 code on about L1226]). Is it an array? If no, then the generation is skipped.
    1111
    1212If it is an array and the generation is not happening, please share step-by-step instructions including any code or attachments for contributors to reproduce the problem. This type of information helps contributors to investigate.