[wp-trac] [WordPress Trac] #22470: WP_Scripts: output script element only if src not empty
WordPress Trac
noreply at wordpress.org
Mon Sep 16 22:11:13 UTC 2013
#22470: WP_Scripts: output script element only if src not empty
----------------------------------------+---------------------
Reporter: niallkennedy | Owner: nacin
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.7
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch 3.7-early commit |
----------------------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"25465"]:
{{{
#!CommitTicketReference repository="" revision="25465"
If the script_loader_src filter returns nothing, bail instead of printing
<script src="">.
props niallkennedy.
fixes #22470.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22470#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list