WordPress.org

Forums

Facebook
[resolved] Empty src on javascript tag (4 posts)

  1. localnerve
    Member
    Posted 2 years ago #

    Plugin version 1.1.11 produces a javascript tag with an empty src attribute and no code. This causes another request to the page itself on popular, modern browsers. YSlow hates this: http://developer.yahoo.com/performance/rules.html#emptysrc

    http://wordpress.org/extend/plugins/facebook/

  2. Niall Kennedy
    Member
    Plugin Author

    Posted 2 years ago #

    This output is the result of loading the JavaScript asynchronously while still using the WordPress register and enqueue system.

    You can read more and apply a patch to your install if you would like to tweak the behavior.
    http://core.trac.wordpress.org/ticket/22470

  3. Tom Smith
    Member
    Posted 2 years ago #

    How is this resoloved in 3.5 if the patch is not included in 3.5.2?

    Is there a work-around that I can do w/ apply_filters?

  4. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    The empty script src issue is fixed in the next version of WordPress.
    http://core.trac.wordpress.org/changeset/25465

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic