Ticket #17847: 18320.diff
| File 18320.diff, 577 bytes (added by jorbin, 2 years ago) |
|---|
-
wp-includes/kses.php
740 740 switch ($mode) { 741 741 case 0 : # attribute name, href for instance 742 742 743 if (preg_match('/^([-a-zA-Z ]+)/', $attr, $match)) {743 if (preg_match('/^([-a-zA-Z:]+)/', $attr, $match)) { 744 744 $attrname = $match[1]; 745 745 $working = $mode = 1; 746 $attr = preg_replace('/^[-a-zA-Z ]+/', '', $attr);746 $attr = preg_replace('/^[-a-zA-Z:]+/', '', $attr); 747 747 } 748 748 749 749 break;