-
Notifications
You must be signed in to change notification settings - Fork 15
Invalid array for $sources in filter_srcset_attr hook #1002
Copy link
Copy link
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.Indicates the request came from a customer.regressionIssue represents a change in behavior from a previous version that is not intended or desired..Issue represents a change in behavior from a previous version that is not intended or desired..
Metadata
Metadata
Assignees
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.Indicates the request came from a customer.regressionIssue represents a change in behavior from a previous version that is not intended or desired..Issue represents a change in behavior from a previous version that is not intended or desired..
Type
Fields
Give feedbackNo fields configured for Bug.
Description
The warning reported by the user:
The array check for
$sourcesinfilter_srcset_attrwas removed in 407e4fe on the premise that the good data is always served correctly.Step-by-step reproduction instructions
'wp_calculate_image_srcset'that returns a non-array value.Screenshots, screen recording, code snippet or Help Scout ticket
Help Scout ticket: https://secure.helpscout.net/conversation/3136637806/476060?viewId=2353196
Environment info
No response
Is the issue you are reporting a regression
Yes, this is a regression.