• Resolved jobcrusher

    (@jobcrusher)


    This code needs to change to this so &’s and other characters don’t break your XML (like mine did)

    if ( isset( $youtube_data[‘title’] ) )
    $video[‘title’] = htmlspecialchars($youtube_data[‘title’]);

    if ( isset( $youtube_data[‘description’] ) )
    $video[‘description’] = htmlspecialchars($youtube_data[‘description’]);

    https://www.ads-software.com/plugins/wp-video-seo/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Not escaping values for youtube title and descriptions’ is closed to new replies.