[wp-trac] [WordPress Trac] #13562: Version the image files used in our CSS files

WordPress Trac wp-trac at lists.automattic.com
Sun May 30 09:08:28 UTC 2010


#13562: Version the image files used in our CSS files
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:     
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.0
Component:  Administration  |     Version:  3.0
 Severity:  major           |    Keywords:     
----------------------------+-----------------------------------------------

Comment(by markjaquith):

 I uploaded a script that updates these strings.

 It prompts you for two versions... an old and a new. It looks for changed
 .gif and .png files between them. It strips existing ?ver= strings for
 those files in your working copy, and then adds the new ones using the
 current date. It then gathers a list of changed CSS/JS files so you can
 manually bump their versions in {{{wp-includes/script-loader.php}}}

 Here's the result for a run against 2.9 to trunk.

 http://txfx.net/files/wordpress/13562.automated-bump.diff

 That doesn't include the bumps to the versions in {{{wp-includes/script-
 loader.php}}}. I'm working on figuring out a way to bump those
 automatically too.

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


More information about the wp-trac mailing list