mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
Media: Add "loading" as an allowed kses image attribute
With loading="lazy" being added to all images in [47554], let's ensure that it passes kses attributes too. Fixes #50731. Props TimothyBlynJacobs, peterwilsoncc, azaozz. Built from https://develop.svn.wordpress.org/trunk@48572 git-svn-id: http://core.svn.wordpress.org/trunk@48334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
51154cd1df
commit
daace832e3
@ -230,6 +230,7 @@ if ( ! CUSTOM_TAGS ) {
|
||||
'border' => true,
|
||||
'height' => true,
|
||||
'hspace' => true,
|
||||
'loading' => true,
|
||||
'longdesc' => true,
|
||||
'vspace' => true,
|
||||
'src' => true,
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-beta3-48571';
|
||||
$wp_version = '5.5-beta3-48572';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user