[wp-testers] Attachment bug?

Andy Skelton skeltoac at gmail.com
Thu Feb 16 20:57:23 GMT 2006


Nice find, guys. That there is a bug.

fix_attachment_links() sends unescaped data to wp_update_post(), which
doesn't escape any of its inputs.

It would do to run $post->post_content through $wpdb->escape() before
the last line of fix_attachment_links().

Andy


More information about the wp-testers mailing list