mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 07:35:39 +01:00
Allow the role attribute in kses for all elements.
props mikecorkum. fixes #24098. Built from https://develop.svn.wordpress.org/trunk@27388 git-svn-id: http://core.svn.wordpress.org/trunk@27236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5525f32fd8
commit
5fd175300c
@ -1467,6 +1467,7 @@ function _wp_add_global_attributes( $value ) {
|
|||||||
'id' => true,
|
'id' => true,
|
||||||
'style' => true,
|
'style' => true,
|
||||||
'title' => true,
|
'title' => true,
|
||||||
|
'role' => true,
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( true === $value )
|
if ( true === $value )
|
||||||
|
Loading…
Reference in New Issue
Block a user