Title: code being changed after saving
Last modified: August 31, 2016

---

# code being changed after saving

 *  [totallytech](https://wordpress.org/support/users/totallytech/)
 * (@totallytech)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/code-being-changed-after-saving/)
 * Hey,
 * I running a small section of code using your plugin, however for some reason 
   I add code, but when I click save it has changed my code and removed a “\” character
 * This is my code
 * `preg_replace('/\s+/', '', $postcode);`
 * but it changes it to:
 * `preg_replace('/s+/', '', $postcode);`
 * Any ideas why the plugin would be ignoring the \ in /\s+/ ?
 * [https://wordpress.org/plugins/custom-css-js-php/](https://wordpress.org/plugins/custom-css-js-php/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [totallytech](https://wordpress.org/support/users/totallytech/)
 * (@totallytech)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/code-being-changed-after-saving/#post-7124864)
 * ok, I’ve just checked the database and its showing the full code, so there must
   be something refusing to show the \
 * `preg_replace('/\s+/', '', $postcode);`

Viewing 1 replies (of 1 total)

The topic ‘code being changed after saving’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-css-js-php.svg)
 * [Custom css-js-php](https://wordpress.org/plugins/custom-css-js-php/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-css-js-php/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-css-js-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-css-js-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-css-js-php/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [totallytech](https://wordpress.org/support/users/totallytech/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/code-being-changed-after-saving/#post-7124864)
 * Status: not resolved