Commit 04fe511
committed
Revisions: Prevent fatal error in PHP 8+ when saving a post revision with revisioned non-scalar post meta.
Developed in WordPress/wordpress-develop#10560
Follow-up to [56714].
Props LAPSrj, manhphucofficial, westonruter.
See #20299.
Fixes #64314.
Built from https://develop.svn.wordpress.org/trunk@61372
git-svn-id: https://core.svn.wordpress.org/trunk@60684 1a063a9b-81f0-0310-95a4-ce76da25c4cd1 parent ca4d0f7 commit 04fe511
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments