Skip to content

Commit

Permalink
Make sure $url is a string before calling str_contains(). (#35605)
Browse files Browse the repository at this point in the history
* 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
samiff authored and matticbot committed Feb 12, 2024
1 parent f11504c commit 5212c3b
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 5212c3b

Please sign in to comment.