From 83ee32a35c5e239b3c1456c771685afc33ba1310 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 4 Mar 2014 02:10:25 +0000 Subject: [PATCH] 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 --- src/wp-includes/kses.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/kses.php b/src/wp-includes/kses.php index 2e2f94a66d..45ee6f61b6 100644 --- a/src/wp-includes/kses.php +++ b/src/wp-includes/kses.php @@ -1467,6 +1467,7 @@ function _wp_add_global_attributes( $value ) { 'id' => true, 'style' => true, 'title' => true, + 'role' => true, ); if ( true === $value )