[wp-trac] [WordPress Trac] #11315: Versioning is being forced for JavaScript and CSS assets with no override

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 4 11:07:48 UTC 2009


#11315: Versioning is being forced for JavaScript and CSS assets with no override
-------------------------+--------------------------------------------------
 Reporter:  amattie      |       Owner:  azaozz   
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  3.0      
Component:  JavaScript   |     Version:  2.9      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------
Changes (by scribu):

  * keywords:  needs-patch => has-patch


Comment:

 This is what I've tested the patches agains:

 {{{
 add_action('template_redirect', 'debug_script_loader');
 function debug_script_loader() {
         wp_enqueue_script('test1', 'example.com', array());
         wp_enqueue_script('test2', 'example.com', array(), 1.2);
         wp_enqueue_script('test3', 'example.com', array(), false);

         wp_enqueue_style('test1', 'example.com', array());
         wp_enqueue_style('test2', 'example.com', array(), 1.2);
         wp_enqueue_style('test3', 'example.com', array(), false);
 }
 }}}

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


More information about the wp-trac mailing list