Opened 4 years ago
Closed 4 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.1 |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi Milana,
Looks good to me. Plus, it would be more consistent with other functions like
render_block_core_file().Moving to 6.1.