[wp-trac] [WordPress Trac] #4830: Not all references to
wp-admin.css get cache busted
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 28 00:51:06 GMT 2007
#4830: Not all references to wp-admin.css get cache busted
----------------------+-----------------------------------------------------
Reporter: mdawaffe | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4 (next)
Component: General | Version:
Severity: normal | Keywords: has-patch 2nd-opinion
----------------------+-----------------------------------------------------
Most everywhere, wp-admin.css is cache busted by appending a version
parameter to the query string.
But not everywhere.
Additionally, we don't include rtl stylesheets in all places.
Attached:
1. {{{wp_admin_css_uri( $file = 'wp-admin' )}}} returns the absolute URL
of the requested admin css file. {{{$file}}} is the name of the file (with
path relative to /wp-admin) and ''without'' the .css extension.
2. {{{wp_admin_css( $file = 'wp-admin' )}}} echoes {{{<link
rel="stylesheet" />}}} markup for the requested admin css file and it's
rtl equivalent if necessary.
Complete with filters.
Or we could just go through and make sure every css file is cache busted
appropriately.
--
Ticket URL: <http://trac.wordpress.org/ticket/4830>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list