Changeset 5640 for trunk/wp-includes/functions.php
- Timestamp:
- 06/02/2007 05:21:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r5573 r5640 744 744 function cache_javascript_headers() { 745 745 $expiresOffset = 864000; // 10 days 746 header("Content- type: text/javascript; charset=" . get_bloginfo('charset'));746 header("Content-Type: text/javascript; charset=" . get_bloginfo('charset')); 747 747 header("Vary: Accept-Encoding"); // Handle proxies 748 748 header("Expires: " . gmdate("D, d M Y H:i:s", time() + $expiresOffset) . " GMT"); … … 798 798 799 799 function do_robots() { 800 header('Content- type: text/plain; charset=utf-8');800 header('Content-Type: text/plain; charset=utf-8'); 801 801 802 802 do_action('do_robotstxt');
Note: See TracChangeset
for help on using the changeset viewer.