Commit 564eb69
committed
Interactivity API: Fix "Cannot use bool as array" error.
Improves PHP 8.5 compatibility where calling `list()` on an empty array throws a warning.
Props swissspidy, jonsurrell, mukesh27.
Fixes #63977.
See #63061.
git-svn-id: https://develop.svn.wordpress.org/trunk@60741 602fd350-edb4-49c9-b593-d223f7449a821 parent f506f28 commit 564eb69
File tree
1 file changed
+1
-1
lines changed- src/wp-includes/interactivity-api
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
0 commit comments