• Hi,

    I’m using the mysql date format for a custom text field and it omits the – symbol so instead of yyyy-mm-dd it saves yyyy only.

    Also with normal text field I get the same behavior where wordpress omits the – sign and the + sign from the text field.

    Anybody has any idea how to solve this?
    I tried another plugin – “Types” just to create a text field and it was not sanitized that way.

    Thanks

    https://wordpress.org/plugins/custom-content-type-manager/

Viewing 1 replies (of 1 total)
  • This is really annoying bug. Actually plugin saves the value correctly but shows it incorrectly in admin UI. If you print your value in template (or check database) after you have saved it, it is shown correctly, but when you edit the post admin UI shows only chars before “-” symbol. And ofcourse if you save then, the correct value gets overwritten with the value you see in admin.

    I’ve reported this 4 months ago also. In my report there is quick fix for this.

Viewing 1 replies (of 1 total)

The topic ‘Text Fields – / characters get sanitized/filtered out’ is closed to new replies.