• The first time it’s displayed in the custom meta box, everything works great, but if you “Update” the post more than once it adds a \ before each single quote.

    So for example,

    Women’s Fiction

    saves correctly once, then on second save the custom field changes to:

    Women\’s Fiction

    AND the dropdown list changes to use Women\’s Fiction from that point on for all posts and in the VMB admin display.

    https://www.ads-software.com/extend/plugins/verve-meta-boxes/

Viewing 1 replies (of 1 total)
  • Thread Starter FriendlyWP

    (@mmcginnis)

    You can fix this (and the same thing happening with checkboxes) by replacing all instances of

    $o

    with

    stripcslashes($o)

    in these lines of verve-meta-boxes.php, version 1.2.8:

    lines 373 – 377

    and

    lines 412 – 424

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Verve Meta Boxes] BUG: 'select' field doesn't handle single quotes correctly’ is closed to new replies.