Changeset 1909 for trunk/wp-blog-header.php
- Timestamp:
- 12/04/2004 12:09:40 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-blog-header.php
r1908 r1909 13 13 // Process PATH_INFO and 404. 14 14 if ((isset($_GET['error']) && $_GET['error'] == '404') || 15 (! empty( $_SERVER['PATH_INFO']) && '/' != $_SERVER['PATH_INFO'])) { 15 ((! empty($_SERVER['PATH_INFO'])) && 16 ('/' != $_SERVER['PATH_INFO']) && 17 (false === strpos($_SERVER['PATH_INFO'], $_SERVER['SCRIPT_NAME'])) 18 )) { 16 19 17 20 // If we match a rewrite rule, this will be cleared. … … 81 84 82 85 $wpvarstoreset = array('m','p','posts','w', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'year', 'monthnum', 'day', 'hour', 'minute', 'second', 'name', 'category_name', 'feed', 'author_name', 'static', 'pagename', 'page_id', 'error'); 86 87 $wpvarstoreset = apply_filters('query_vars', $wpvarstoreset); 83 88 84 89 for ($i=0; $i<count($wpvarstoreset); $i += 1) {
Note: See TracChangeset
for help on using the changeset viewer.