[wp-trac] [WordPress Trac] #63325: Regression in saving posts with Block Editor in 6.8
WordPress Trac
noreply at wordpress.org
Fri Jul 4 00:10:42 UTC 2025
#63325: Regression in saving posts with Block Editor in 6.8
-------------------------------------------------+-------------------------
Reporter: margolisj | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.8.2
Component: REST API | Version: 6.8
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs- | Focuses: rest-api
test-info |
-------------------------------------------------+-------------------------
Changes (by SirLouen):
* keywords: has-patch has-unit-tests needs-testing => has-patch has-unit-
tests needs-test-info
Comment:
== Combined Bug Reproduction and Patch Test Report
=== Description
🟠 This report validates that the issue can be reproduced but the patch is
not working as expected
Patch tested: https://github.com/WordPress/wordpress-
develop/pull/8789.diff
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.28
- Server: nginx/1.29.0
- Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
- Browser: Chrome 138.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-Five 1.2
- Plugins:
* Test Reports 1.2.0
=== Reproduction Steps
1. Use the code provided by OP
2. 🐞 There is an unexpected array transformation
=== Expected Results
- JSON empty values are kept as-is
=== Actual Results with Patch
1. ❌ Values are still being stored as arrays
=== Additional Notes
- I've been reading over the report, but I still have some elements
unclear. I have not thoroughly read the proposed code in PR 8789, so I
wonder if the code is simply not finished yet or if I'm missing something.
cc @bernhard-reiter
- Also @jorbin your PR is an incremental code over PR 8789?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63325#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list