I’m playing about with the Unique Article Wizard plugin for WordPress (for a friend, not for this site!!!) and there’s an obvious problem where all of the articles need their slashes to be stripped. It looks like a serious case of magic quote paranoia!
A look at the plugin code makes article_mods.php the obvious candidate for tweaking:
Change lines 370 – 384 from
<br />
$uawarticle_id = wp_update_post(array (<br />
'ID' => $pageposts[0]->post_id,<br />
'post_author' => $uawuser_id,<br />
'post_title' => stripslashes($title),<br />
'post_content' => stripslashes($article . "\n\n\n\n" . $_REQUEST['resource_box']."\n\ncategories: ".$_REQUEST['keywords']) ,<br />
'post_excerpt' => stripslashes(stripslashes($description)),<br />
'post_type' => 'post',<br />
'post_status' => $uawstatus,<br />
'post_modified_date' => date("Y-m-d H:i:s"),<br />
'post_modified_date_gmt' => gmdate("Y-m-d H:i:s"),<br />
'post_category' => array (<br />
$uawcategory_id<br />
),<br />
to
<br />
$uawarticle_id = wp_update_post(array (<br />
'ID' => $pageposts[0]->post_id,<br />
'post_author' => $uawuser_id,<br />
'post_title' => $title,<br />
'post_content' => $article . "\n\n\n\n" . $_REQUEST['resource_box']."\n\ncategories: ".$_REQUEST['keywords'] ,<br />
'post_excerpt' => stripslashes(stripslashes($description)),<br />
'post_type' => 'post',<br />
'post_status' => $uawstatus,<br />
'post_modified_date' => date("Y-m-d H:i:s"),<br />
'post_modified_date_gmt' => gmdate("Y-m-d H:i:s"),<br />
'post_category' => array (<br />
$uawcategory_id<br />
),<br />
problem solved