Toolset Types
[Plugin: Types - Custom Fields and Custom Post Types Management] Custom fields which contain quotes (2 posts)

  1. bankofcanada
    Posted 3 years ago #

    When creating and editing a group, multiple value fields (select/radio/etc.) that contain single quote characters appear correctly. When editing a post or retrieving the data from post meta (for use on the front end), the values are escaped with a back-slash.

    Steps to reproduce:
    1) create a group
    2) add a select box
    2a) add option value "something"
    2b) add option value "something with '"
    3) save the group
    4) edit a post

    Expected result:
    The select box should contain 2 options:
    - something
    - something with '

    Actual result:
    The select box contains:
    - something
    - something with \'

    When viewing the group again after seeing this result the values are displayed properly.
    Using Types and 1.0.4.


  2. Srdjan
    Posted 3 years ago #

    Thanks for reporting. We'll check that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Toolset Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.