Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Customize: Sanitize autofocus URL parameter as an array.
[58069] introduced calling `sanitize_text_field()` with `$_REQUEST['autofocus']` (which is an array) and setting its default to a `string`. This fix restores the `array` data type for `autofocus`. The fix also relocates the unsplash for `url`, `return`, and `autofocus` before sanitizing. Follow-up to [58069], [34269], [29026], [21028]. Props jamesros161, swissspidy, dlh, audrasjb, hellofromTonya, ironprogrammer. Fixes #61561. git-svn-id: https://develop.svn.wordpress.org/trunk@58804 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information