Formatting: Add 'main' tag to kses

`main` is a valid HTML element that is especially valuable for KSES to support in light of full site editing.

Related: https://github.com/WordPress/gutenberg/pull/28576 for the addition of `main` to the group block.

Fixes #53156.
Props glendaviesnz.


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


git-svn-id: http://core.svn.wordpress.org/trunk@50596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Aaron Jorbin 2021-05-25 01:43:55 +00:00
parent 5386157101
commit b6b98b8e2d
2 changed files with 7 additions and 1 deletions

View File

@ -252,6 +252,12 @@ if ( ! CUSTOM_TAGS ) {
'align' => true,
'value' => true,
),
'main' => array(
'align' => true,
'dir' => true,
'lang' => true,
'xml:lang' => true,
),
'map' => array(
'name' => true,
),

View File

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