[wp-trac] [WordPress Trac] #25017: Dont allow empty $src parameter in wp_register_script
WordPress Trac
noreply at wordpress.org
Mon Aug 12 23:06:52 UTC 2013
#25017: Dont allow empty $src parameter in wp_register_script
--------------------------+------------------------------
Reporter: oskarhane | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.6
Severity: normal | Resolution:
Keywords: close |
--------------------------+------------------------------
Changes (by jeremyfelt):
* keywords: needs-patch => close
Comment:
In a case such as this, there's not much of a difference between an empty
string and a URL that provides a broken version of jQuery or another
library entirely. I can't see comprehensive validation being possible in
this case. Suggest wontfix/close.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25017#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list