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:
Andrew Nacin 2014-03-04 02:11:16 +00:00
parent 5525f32fd8
commit 5fd175300c

View File

@ -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 )