WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
[resolved] Plugin breaks markup/page by not properly converting double quotes (8 posts)

  1. sunamumaya
    Member
    Posted 10 months ago #

    For example,

    the plugin puts in the page code a tag: <meta itemprop="description" content="<p>Blah blah bla blah, bah blah, blah: "Blah, blah blah blah." Blah blah!</p>

    The inner-quotes (bolded) break the markup, with unpredictable results, usually with very strange output.

    It should convert quotes (you're using esc_attr($post_excerpt) to generate this, I see) but it does not. Why? What am I missing? As it is now, the plugin is unusable when you have quotes in the post excerpt.

    Thanks for your awesome plugins!

    http://wordpress.org/plugins/wp-postratings/

  2. Lester Chan
    Member
    Plugin Author

    Posted 10 months ago #

  3. sunamumaya
    Member
    Posted 10 months ago #

    I have altered my local copy of wp-postratings, replaced esc_attr() w/ wp_kses(), and it works.

    Thanks for this!

  4. Julian Magnone
    Member
    Posted 10 months ago #

    Hi Lester.

    I am also experimenting the same problem with version 1.74 - When will be the fix released into the stable version?

  5. Lester Chan
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Julian, I just released 1.75, let me know if it works

  6. pauldack
    Member
    Posted 10 months ago #

    I have 1.75 and the same thing is happening on the templates screen.

  7. Lester Chan
    Member
    Plugin Author

    Posted 10 months ago #

    @pauldack: I got what you mean. I will fix it in 1.76

  8. pauldack
    Member
    Posted 10 months ago #

    Nice one @Lester, cheers.

Reply

You must log in to post.

About this Plugin

About this Topic