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

  1. Joey Kudish
    Posted 3 years 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:


    escape all the things :)


  2. mitcho (Michael Yoshitaka Erlewine)
    Plugin Author

    Posted 3 years ago #

    Thanks Joey! Just pushed version 0.3.

  3. Joey Kudish
    Posted 3 years ago #

    Awesome. Thanks for the quick turn-around

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Single Value Taxonomy UI
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.