• Resolved Andy Stratton

    (@theandystratton)


    When saving values for an option/custom variable with apostrophes/quotes, WordPress is escaping the content and it’s being saved that way – you should probably run a line like this before saving the value:

    $value = stripslashes( $value );

    Then store the value with standard WP functions (which should escape the data). Just a note! Nice plugin! Using it in a presentation this weekend.

    http://wordpress.org/extend/plugins/custom-options-plus/

  • The topic ‘[Plugin: Custom Options Plus] stripslashes needed on submission of content’ is closed to new replies.