Wrong REGEXP in formatting.php
|Reported by:||RickGC||Owned by:|
In wp-includes/formatting.php, line 649 the REGEXP is wrong?
I think it must be
$textarr = preg_split("/(<.*>)/Us", $text, -1, PREG_SPLIT_DELIM_CAPTURE); // capture the tags as well as in between
Note the extra s in "/(<.*>)/Us"
Change History (2)
Note: See TracTickets for help on using tickets.