Allow the role attribute in kses for all elements.
props mikecorkum. fixes #24098. git-svn-id: https://develop.svn.wordpress.org/trunk@27388 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e5bed6707f
commit
83ee32a35c
@ -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