WordPress.org

Forums

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

  1. kitchin
    Member
    Posted 1 year 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 1 year 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 1 year ago #

    Closing.

  4. kitchin
    Member
    Posted 1 year ago #

    Thanks for the very quick work!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • YouTube Advanced Embed
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags