Title: Empty src on javascript tag
Last modified: August 20, 2016

---

# Empty src on javascript tag

 *  Resolved [localnerve](https://wordpress.org/support/users/localnerve/)
 * (@localnerve)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/empty-src-on-javascript-tag/)
 * 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://developer.yahoo.com/performance/rules.html#emptysrc)
 * [http://wordpress.org/extend/plugins/facebook/](http://wordpress.org/extend/plugins/facebook/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * (@niallkennedy)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/empty-src-on-javascript-tag/#post-3381451)
 * 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](http://core.trac.wordpress.org/ticket/22470)
 *  [Tom Smith](https://wordpress.org/support/users/tom-smith/)
 * (@tom-smith)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/empty-src-on-javascript-tag/#post-3381529)
 * 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?
 *  Plugin Contributor [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * (@niallkennedy)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/empty-src-on-javascript-tag/#post-3381532)
 * The empty script src issue is fixed in the next version of WordPress.
    [http://core.trac.wordpress.org/changeset/25465](http://core.trac.wordpress.org/changeset/25465)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Empty src on javascript tag’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook_526fac.svg)
 * [Facebook](https://wordpress.org/plugins/facebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/empty-src-on-javascript-tag/#post-3381532)
 * Status: resolved