diff --git wp-includes/kses.php wp-includes/kses.php
index d34608b..5669369 100644
|
|
function wp_kses_hair($attr, $allowed_protocols) { |
927 | 927 | switch ($mode) { |
928 | 928 | case 0 : // attribute name, href for instance |
929 | 929 | |
930 | | if ( preg_match('/^([-a-zA-Z:]+)/', $attr, $match ) ) { |
| 930 | if ( preg_match('/^([-_a-zA-Z0-9:]+)/', $attr, $match ) ) { |
931 | 931 | $attrname = $match[1]; |
932 | 932 | $working = $mode = 1; |
933 | | $attr = preg_replace( '/^[-a-zA-Z:]+/', '', $attr ); |
| 933 | $attr = preg_replace( '/^([-_a-zA-Z0-9:]+)/', '', $attr ); |
934 | 934 | } |
935 | 935 | |
936 | 936 | break; |