[wp-testers] RE: wp_kses kills <!--more--> tags from xmlrpc posted entries

Andy Skelton skeltoac at gmail.com
Thu Dec 22 23:41:25 GMT 2005


On 12/22/05, Toby Simmons <toby at simmonsconsulting.com> wrote:
> +       if (preg_match('%^<!--[^>-]+-->$%', $string))

This will not match comments such as this:
<!--my-awesome-comment-->

Andy


More information about the wp-testers mailing list