Make WordPress Core

Ticket #24098: 24098.diff

File 24098.diff, 310 bytes (added by mikecorkum, 11 years ago)

Added role to global attributes

  • wp-includes/kses.php

    diff --git wp-includes/kses.php wp-includes/kses.php
    index 4c42134..ce4a3f6 100644
    function _wp_add_global_attributes( $value ) { 
    14611461                'id' => true,
    14621462                'style' => true,
    14631463                'title' => true,
     1464                'role' => true,
    14641465        );
    14651466
    14661467        if ( true === $value )