WordPress.org

Ready to get started?Download WordPress

Forums

Single Value Taxonomy UI
[resolved] Missing esc_attr() (3 posts)

  1. Joey Kudish
    Member
    Posted 1 year ago #

    Hey Mitcho,

    The plugin is great. I found a small bug with it. If you have any terms with an apostrophe in them and try to save a post assigning that term to it, it will create a new term instead that's named after the original term but truncated to the part of the name before the apostrophe. This is due to a missing esc_attr() on line 60 of the plugin for the value attribute of the $output variable. Here's the patched line of code I am referring to:

    https://gist.github.com/3663010

    escape all the things :)

    http://wordpress.org/extend/plugins/single-value-taxonomy-ui/

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks Joey! Just pushed version 0.3.

  3. Joey Kudish
    Member
    Posted 1 year ago #

    Awesome. Thanks for the quick turn-around

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.