Opened 2 years ago
Closed 2 years ago
#56286 closed defect (bug) (fixed)
$block_content param description in filter render_block is too opinionated
Reported by: | milana_cap | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
$block_content
param description in filter 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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hi Milana,
Looks good to me. Plus, it would be more consistent with other functions like
render_block_core_file()
.Moving to 6.1.