Collapsing Archives
Unescaped title attributes; problem and solution (1 post)

  1. hashtoken
    Posted 4 years ago #

    Hi Rob,

    First, thanks for the great plugin(s).

    I started using your collapsing plugins again recently and I notice a small bug with some of my posts in the Collapsing Archives widget: Post's that had a single quote (') in their title had their title-attribute cut off prematurely (at the quote). The solution is simple: using title='" . esc_attr($title_text) . "' in place of title='$title_text'. I've applied these changes to collapsingArchList.php and the problem has ceased. I would love for these changes to be apart of the next version so that I won't need to make them again.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Collapsing Archives
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic