Title: Cannot save post containing certain text
Last modified: May 6, 2019

---

# Cannot save post containing certain text

 *  [clinthopgood](https://wordpress.org/support/users/clinthopgood/)
 * (@clinthopgood)
 * [7 years ago](https://wordpress.org/support/topic/cannot-save-post-containing-certain-text/)
 * If my the post contains “if(” or “if (” with any number of spaces between the
   f and the ( the post fails to save with the warning “Updating failed”.
 * I’m using Guttenburg, but am thinking maybe I should revert to the classic editor.
    -  This topic was modified 7 years ago by [clinthopgood](https://wordpress.org/support/users/clinthopgood/).

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

 *  [Kyle Pott](https://wordpress.org/support/users/kylepott/)
 * (@kylepott)
 * [7 years ago](https://wordpress.org/support/topic/cannot-save-post-containing-certain-text/#post-11499025)
 * Hi Clinton,
 * I am unable to reproduce this error on WordPress 5.1.1. Can you confirm you have
   a good connection and there are no plugin conflicts?
 * Kyle
 *  Thread Starter [clinthopgood](https://wordpress.org/support/users/clinthopgood/)
 * (@clinthopgood)
 * [7 years ago](https://wordpress.org/support/topic/cannot-save-post-containing-certain-text/#post-11500028)
 * Hi Kyle,
 * I disabled every plugin, and enabled the twentynineteen theme. I recreated this
   issue on a completely different website using the latest WordPress version.
 *  Thread Starter [clinthopgood](https://wordpress.org/support/users/clinthopgood/)
 * (@clinthopgood)
 * [7 years ago](https://wordpress.org/support/topic/cannot-save-post-containing-certain-text/#post-11500181)
 * …
    -  This reply was modified 7 years ago by [clinthopgood](https://wordpress.org/support/users/clinthopgood/).
 *  [Kyle Pott](https://wordpress.org/support/users/kylepott/)
 * (@kylepott)
 * [7 years ago](https://wordpress.org/support/topic/cannot-save-post-containing-certain-text/#post-11500672)
 * Hi Clinton,
 * I’m glad you were able to recreate the error on another system. Can you provide
   me step-by-step instructions and I will try to reproduce the error again today?
   I would like to open a bug report for the main trunk of WordPress.
 * This defect has the potential to be a heightened concern – especially if the 
   Gutenberg editor is interpreting text as SQL or as a script – that could open
   up other security concerns. I’m not certain that’s what’s happening here, but
   I would like to understand better what’s going on and escalate to the WordPress
   developers.
 * Thanks for following up Clinton.
 * Kyle
 *  Thread Starter [clinthopgood](https://wordpress.org/support/users/clinthopgood/)
 * (@clinthopgood)
 * [7 years ago](https://wordpress.org/support/topic/cannot-save-post-containing-certain-text/#post-11502907)
 * Turns out it was a permission issue with my web host. I’ve asked them for further
   clarification on what they white listed to fix the issue. I’ll post this if/when
   they tell me.
 * Here’s a screen capture of the problem. [https://imgur.com/BKntRed](https://imgur.com/BKntRed)
 *  [Kyle Pott](https://wordpress.org/support/users/kylepott/)
 * (@kylepott)
 * [7 years ago](https://wordpress.org/support/topic/cannot-save-post-containing-certain-text/#post-11502917)
 * Thanks Clinton. Sorry you’re dealing with this frustration, but glad it’s not
   a more widespread issue with WordPress.
 * Take care!
 * Kyle
 *  Thread Starter [clinthopgood](https://wordpress.org/support/users/clinthopgood/)
 * (@clinthopgood)
 * [7 years ago](https://wordpress.org/support/topic/cannot-save-post-containing-certain-text/#post-11502921)
 * The resolution was for my web host to white list a rule in their firewall, which
   was a false positive response to the post update activity of the Gutenburg editor.
   It is likely a common issue with web hosts. Maybe the way saves are initiated
   in the new WordPress editor can cause a firewall red flag.
 * Thanks for your assistance.
    -  This reply was modified 7 years ago by [clinthopgood](https://wordpress.org/support/users/clinthopgood/).

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

The topic ‘Cannot save post containing certain text’ is closed to new replies.

## Tags

 * [defect](https://wordpress.org/support/topic-tag/defect/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [clinthopgood](https://wordpress.org/support/users/clinthopgood/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/cannot-save-post-containing-certain-text/#post-11502921)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
