[wp-trac] [WordPress Trac] #25017: Dont allow empty $src parameter in wp_register_script

WordPress Trac noreply at wordpress.org
Thu Aug 22 02:36:48 UTC 2013


#25017: Dont allow empty $src parameter in wp_register_script
--------------------------+------------------
 Reporter:  oskarhane     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.7
Component:  General       |     Version:  3.6
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:  close =>
 * milestone:  Awaiting Review => 3.7


Comment:

 Replying to [comment:4 nacin]:
 > Additionally, perhaps [23378] also needs to check `|| $pagenow === 'wp-
 login.php' && current_filter() !== 'login_enqueue_scripts'`.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25017#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list