[wp-trac] [WordPress Trac] #64505: REST API: Block renderer passes incomplete block shape
WordPress Trac
noreply at wordpress.org
Mon Jan 26 04:34:59 UTC 2026
#64505: REST API: Block renderer passes incomplete block shape
--------------------------+------------------------
Reporter: dlh | Owner: dmsnell
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 7.0
Component: REST API | Version: 5.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------
Comment (by dlh):
Thanks for the feedback and context, @dmsnell.
> so I would suggest instead of using it that we //either// just add the
missing property //or// propose a utility function whose purpose is
specifically to create a block node. this could be something as basic as
`wp_create_block( $blockType, $attrs, ...$innerContent )` and could be
used directly.
While I would welcome such a utility, in my opinion it deserves its own
ticket and discussion. For now, I've updated the PR to just add the
missing properties (in both locations where I observed them).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64505#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list