Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure $url is a string before calling str_contains(). (#35605)
* Make sure $url is a string before calling str_contains(). The jetpack_oembed_timeout_override() filter expects to always get a URL as a string. There are times where that is not the case, being given an array instead. Defend against that condition. * Update changelog entry --------- Co-authored-by: Jeremy Herve <jeremy@jeremy.hu> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/7876938939
- Loading branch information