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:
Andrew Nacin 2014-03-04 02:10:25 +00:00
parent e5bed6707f
commit 83ee32a35c

View File

@ -1467,6 +1467,7 @@ function _wp_add_global_attributes( $value ) {
'id' => true,
'style' => true,
'title' => true,
'role' => true,
);
if ( true === $value )