[wp-trac] [WordPress Trac] #56286: $block_content param description in filter render_block is too opinionated
WordPress Trac
noreply at wordpress.org
Tue Jul 26 07:49:33 UTC 2022
#56286: $block_content param description in filter render_block is too opinionated
--------------------------+-----------------------------
Reporter: milana_cap | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Keywords:
Focuses: docs |
--------------------------+-----------------------------
`$block_content` param description in filter
[https://developer.wordpress.org/reference/hooks/render_block/
render_block] says:
{{{
(string) The block content about to be appended.
}}}
This is a bit too opinionated about its usage. You can prepend it, nest
it, completely remove it, parse it.. I suggest removing the `about to be
appended` part.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56286>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list