Widget block: Add widget_block_content filter

Adds a new 'widget_block_content' filter to the widget block and hooks
`run_shortcode`, `autoembed`, `do_blocks`, and `do_shortcode` into it by
default. This is simlar to `widget_text_content.`

Fixes #51566.
Props talldanwp.

Built from https://develop.svn.wordpress.org/trunk@51058


git-svn-id: http://core.svn.wordpress.org/trunk@50667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
noisysocks
2021-06-02 01:18:57 +00:00
parent 918610fb88
commit 38cea1e659
4 changed files with 21 additions and 15 deletions

View File

@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-alpha-51057';
$wp_version = '5.8-alpha-51058';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.