[wp-trac] [WordPress Trac] #45469: wp-polyfill-formdata not found for subdirectory install

WordPress Trac noreply at wordpress.org
Mon Dec 3 13:31:56 UTC 2018


#45469: wp-polyfill-formdata not found for subdirectory install
---------------------------+---------------------
 Reporter:  bobbingwide    |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.0
Component:  Script Loader  |     Version:  5.0
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+---------------------

Comment (by gziolo):

 What about packages? They are registered exactly the same as vendor
 scripts:

 {{{#!php
 <?php
 $path    = "/wp-includes/js/dist/$package$suffix.js";
 ...
 $scripts->add( $handle, $path, $dependencies, $version, 1 );
 }}}

 Shouldn't we ensure that the path is properly constructed for both types
 of scripts?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45469#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list