WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #43201, comment 1


Ignore:
Timestamp:
02/01/2018 03:31:17 PM (4 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43201, comment 1

    initial v1  
    11Hi @codegrau, welcome to WordPress Trac! Thanks for the report.
    22
    3 This sound like a plugin incorrectly using the `wp_calculate_image_srcset` filter and returning a non-array. That said, we should make sure `$sources` is an array before calling `count()`.
     3This sounds like a plugin incorrectly using the `wp_calculate_image_srcset` filter and returning a non-array. That said, we should make sure `$sources` is an array before calling `count()`.