[wp-cvs] wordpress/wp-admin admin.php,1.4,1.5
Matthew Mullenweg
saxmatt at users.sourceforge.net
Sun Dec 19 18:43:46 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21697/wp-admin
Modified Files:
admin.php
Log Message:
Don't cache. No, really. Hat tip: Kimmo Suominen.
Index: admin.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/admin.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** admin.php 16 Dec 2004 02:56:55 -0000 1.4
--- admin.php 19 Dec 2004 18:43:44 -0000 1.5
***************
*** 5,8 ****
--- 5,12 ----
auth_redirect();
+ header('Expires: Mon, 11 Jan 1984 05:00:00 GMT');
+ header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
+ header('Cache-Control: no-cache, must-revalidate, max-age=0');
+ header('Pragma: no-cache');
$dogs = $wpdb->get_results("SELECT * FROM $wpdb->categories");
More information about the cvs
mailing list