mirror of
https://github.com/WordPress/WordPress.git
synced 2024-06-25 22:35:02 +02:00
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:
parent
5386157101
commit
b6b98b8e2d
|
@ -252,6 +252,12 @@ if ( ! CUSTOM_TAGS ) {
|
||||||
'align' => true,
|
'align' => true,
|
||||||
'value' => true,
|
'value' => true,
|
||||||
),
|
),
|
||||||
|
'main' => array(
|
||||||
|
'align' => true,
|
||||||
|
'dir' => true,
|
||||||
|
'lang' => true,
|
||||||
|
'xml:lang' => true,
|
||||||
|
),
|
||||||
'map' => array(
|
'map' => array(
|
||||||
'name' => true,
|
'name' => true,
|
||||||
),
|
),
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user