From 5fd175300cecaabfc80d3cc182d91b925c329ae7 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 4 Mar 2014 02:11:16 +0000 Subject: [PATCH] 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 --- wp-includes/kses.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 2e2f94a66d..45ee6f61b6 100644 --- a/wp-includes/kses.php +++ b/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 )