Why do I lose all the slashes, i.e., ” \ “, in my blogs when I import XML files by the WordPress Importer plug-in?
The importer calls wp_insert_post() which runs stripslashes_deep() on the data. But the exporter doesn’t run addslashes. Looks like a bug to me. What you may try is to prepare the data during export. Create a plugin with the following content and activate it before you run the export: <?php /** * Plugin Name: Slash my … Read more