WordPress.org

Ready to get started?Download WordPress

Forums

YouTube Advanced by Embed Plus
[resolved] (minor) warning due to _GLOBALS typo (4 posts)

  1. kitchin
    Member
    Posted 9 months ago #

    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/

  2. embedplus
    Member
    Plugin Author

    Posted 9 months ago #

    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

  3. embedplus
    Member
    Plugin Author

    Posted 9 months ago #

    Closing.

  4. kitchin
    Member
    Posted 9 months ago #

    Thanks for the very quick work!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags