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,
|
||||
'style' => true,
|
||||
'title' => true,
|
||||
'role' => true,
|
||||
);
|
||||
|
||||
if ( true === $value )
|
||||
|
|
Loading…
Reference in New Issue