Support » Plugin: YouTube Advanced Embed » (minor) warning due to _GLOBALS typo

  • Resolved kitchin

    (@kitchin)


    With WP_DEBUG, a code typo shows up in Line 969 of embedplus.php, ver. 3.6.

    if (empty($content_width))
        $content_width = $GLOBALS['content_width'];
     if (empty($content_width))
        $content_width = $_GLOBALS['content_width'];

    The last two lines can be deleted, $_GLOBALS never exists.

    http://wordpress.org/plugins/embedplus-for-wordpress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author embedplus

    (@embedplus)

    Kitchin,

    Thanks for the note! You could also offer us a link to your blog or some other way to contact you as we’d like to give you a free PRO activation for this discovery.

    Cheers,
    -EmbedPlus Team

    Plugin Author embedplus

    (@embedplus)

    Closing.

    kitchin

    (@kitchin)

    Thanks for the very quick work!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘(minor) warning due to _GLOBALS typo’ is closed to new replies.