• Resolved Chris Hardie

    (@chrishardie)


    We’re using the “Castos Player” block on https://westernwaynenews.com/ (scroll to near bottom) and after the recent upgrade to version 3.3.1, the link to the individual episode from inside the player is showing the HTML of the a href tag instead of the link itself. As we have not made any other changes, I’m guessing some output escaping was added somewhere it wasn’t supposed to be. Can you advise on a fix?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    Hi chrishardie,

    Thank you for the question and for bringing it to our attention.

    You are right, in the last plugin release we added some escape functions to the plugin rendering. But I agree, it would be nice to support links there. It will be fixed in the next plugin release. Meanwhile, you can either remove the “a” tag from the title, or manually edit the templates/players/castos-player.php file, and replace esc_attr($episode->post_title) with wp_kses_post( $episode->post_title) there.

    Best regards,
    Serhiy.

    Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    Hi @chrishardie ,

    Did my instructions work for you?

    Just wanted to inform you that links in the player title are now supported from the version 3.4.0.

    Thread Starter Chris Hardie

    (@chrishardie)

    Thank you, the latest version works well. Marking this as resolved.

    Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    Awesome, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Episode link shows raw HTML after update’ is closed to new replies.