Bug in [cbc_video] shortcode

Front page Forums CodeCanyon products WordPress YouTube video post plugin Bug in [cbc_video] shortcode

This topic contains 1 reply, has 2 voices, and was last updated by  Constantin 3 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #327

    MikeAmelung
    Participant

    I believe there is a bug around line 62 of ccb-youtube/includes/shortcodes.php

    if( !$atts[‘width’] ){
    return false;
    }

    should be:

    if( !$vars[‘width’] ){
    return false;
    }

    I couldn’t find any other way to report it. Hope it helps.

    #328

    Constantin
    Keymaster

    Thank you, you’re right. As it is, it only checks if shortcode attribute is set, not the combined defaults with attributes.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.