Lost backslashes ( \ ) on import
-
I used the export/import process to merge two blogs into one about a month ago. I just discovered that backslashes are missing in the imported posts. Double-backslash becomes single and single is removed. So a Windows path like
\\SERVER\Share\File.txt
appears as
\SERVERShareFile.txt
I found a 3-year-old StackExchange article that offers this explanation: “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.” There are some suggested workarounds.
Can anyone confirm that backslashes are dropped on import? Or has that bug been addressed somehow?
- The topic ‘Lost backslashes ( \ ) on import’ is closed to new replies.