Title: javascript Error when in post type names with apostrophe
Last modified: August 21, 2016

---

# javascript Error when in post type names with apostrophe

 *  [dennisdelara](https://wordpress.org/support/users/dennisdelara/)
 * (@dennisdelara)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-when-in-post-type-names-with-apostrophe/)
 * When there are post types created with name that has apostrophe then you go to
   Custom Fields, the EDIT button doesn’t work because it has javascript errors.
   It seems that there is a javascript that doesn’t do escaping of special characters
   like apostrophe, thus gives the problem.
 * Hope you solve this one.
 * Thanks!
 * Dennis
 * [https://wordpress.org/plugins/types/](https://wordpress.org/plugins/types/)

Viewing 1 replies (of 1 total)

 *  [Adriano Ferreira](https://wordpress.org/support/users/adrianosilva/)
 * (@adrianosilva)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-when-in-post-type-names-with-apostrophe/#post-4647364)
 * We already fixed it in the past, now we handle this. Could you check if are you
   using the latest version of Types (1.5.4)?
 * If the error still there, please post an image of the JavaScript error.

Viewing 1 replies (of 1 total)

The topic ‘javascript Error when in post type names with apostrophe’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [escaping](https://wordpress.org/support/topic-tag/escaping/)

 * 1 reply
 * 2 participants
 * Last reply from: [Adriano Ferreira](https://wordpress.org/support/users/adrianosilva/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-when-in-post-type-names-with-apostrophe/#post-4647364)
 * Status: not resolved