Title: patternmb's Replies | WordPress.org

---

# patternmb

  [  ](https://wordpress.org/support/users/patternmb/)

 *   [Profile](https://wordpress.org/support/users/patternmb/)
 *   [Topics Started](https://wordpress.org/support/users/patternmb/topics/)
 *   [Replies Created](https://wordpress.org/support/users/patternmb/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/patternmb/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/patternmb/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/patternmb/engagements/)
 *   [Favorites](https://wordpress.org/support/users/patternmb/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Enable Media Replace] Version 3.4.2 breaks json, suggested fix](https://wordpress.org/support/topic/version-3-4-2-breaks-json-suggested-fix/)
 *  Thread Starter [patternmb](https://wordpress.org/support/users/patternmb/)
 * (@patternmb)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/version-3-4-2-breaks-json-suggested-fix/#post-13611688)
 * I’ve just tested it and confirmed that it is working great. Thank you [@sixaxis](https://wordpress.org/support/users/sixaxis/)
   for you and your teams excellent support!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Enable Media Replace] Version 3.4.2 breaks json, suggested fix](https://wordpress.org/support/topic/version-3-4-2-breaks-json-suggested-fix/)
 *  Thread Starter [patternmb](https://wordpress.org/support/users/patternmb/)
 * (@patternmb)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/version-3-4-2-breaks-json-suggested-fix/#post-13410343)
 * In my case I have JSON stored in the post_content field in the wp_posts table,
   it looks like this:
 * `[["Column A","Info Doc"],["Column B","<a href=\"https://example.com/wp-content/
   uploads/2020/02/old-doc.pdf\">PDF</a>\n<a href=\"https://example.com/wp-content/
   uploads/2020/02/old-doc2.pdf\">PDF</a>"]]`
 * Then when I replace the file with the option “Replace the file, use new file 
   name and update all links” the JSON ends up looking like this:
 * `[["Column A","Info Doc"],["Column B","<a href="https://example.com/wp-content/
   uploads/2020/02/new-doc.pdf">PDF</a>n<a href="https://example.com/wp-content/
   uploads/2020/02/new-doc2.pdf\">PDF</a>"]]`
 * The escaping backslashes are removed on quotes and newlines (\n). For me `wp_slash`
   seems to prevent this from happening. I think by adding extra slashes which `
   wp_update_post` removes by calling `stripslashes_deep`.
 * The plugin I am using is the latest version (1.12) of [TablePress by Tobias Bäthge](https://wordpress.org/plugins/tablepress/).
   It creates tables which is stored as a custom post type in wp_posts. I am also
   using WordPress 5.5.1.
 * I hope this helps!
    -  This reply was modified 5 years, 8 months ago by [patternmb](https://wordpress.org/support/users/patternmb/).
    -  This reply was modified 5 years, 8 months ago by [patternmb](https://wordpress.org/support/users/patternmb/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Activity Log] Error “implode(): Invalid arguments” when using register_rest_route](https://wordpress.org/support/topic/error-implode-invalid-arguments-when-using-register_rest_route/)
 *  Thread Starter [patternmb](https://wordpress.org/support/users/patternmb/)
 * (@patternmb)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-implode-invalid-arguments-when-using-register_rest_route/#post-10986542)
 * [@wpwhitesecurity](https://wordpress.org/support/users/wpwhitesecurity/) [@robert681](https://wordpress.org/support/users/robert681/)
 * Thank you for the update. I’ve just tried 3.3 and everything is looking good.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Activity Log] Error “implode(): Invalid arguments” when using register_rest_route](https://wordpress.org/support/topic/error-implode-invalid-arguments-when-using-register_rest_route/)
 *  Thread Starter [patternmb](https://wordpress.org/support/users/patternmb/)
 * (@patternmb)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/error-implode-invalid-arguments-when-using-register_rest_route/#post-10885033)
 * Awesome, I look forward to 3.3. I’ll retest my code when it comes out and if 
   there are no issues we can mark this as resolved.
 * Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)