[wp-trac] [WordPress Trac] #17272: 'ver' parameter included by default in wp_enqueue_script

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 29 11:12:51 UTC 2011


#17272: 'ver' parameter included by default in wp_enqueue_script
-------------------------------------+------------------------------
 Reporter:  Nordvind                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback close  |
-------------------------------------+------------------------------

Comment (by Nordvind):

 Replying to [comment:1 sivel]:
 > Perhaps you could shed some light on how it results in a "script load
 error".  The ver query var is used for cache busting primarily, so that
 filenames do not need to include the version for cache busting.  Not
 including it can cause issues with core/plugin/theme upgrades.

 Well, ok. just used the technique in inappropriate way.

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


More information about the wp-trac mailing list