Changeset 16069
- Timestamp:
- 10/29/2010 07:07:28 AM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
-
functions.php (modified) (1 diff)
-
rewrite.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r16062 r16069 1207 1207 if ( isset( $test['query'] ) ) 1208 1208 $post_links[] = $link_test; 1209 elseif ( $test['path'] != '/' && $test['path'] != '')1209 elseif ( isset($test['path']) && ( $test['path'] != '/' ) && ($test['path'] != '' ) ) 1210 1210 $post_links[] = $link_test; 1211 1211 } -
trunk/wp-includes/rewrite.php
r15989 r16069 300 300 // Chop off /path/to/blog 301 301 $home_path = parse_url(home_url()); 302 $home_path = $home_path['path'];302 $home_path = isset( $home_path['path'] ) ? $home_path['path'] : '' ; 303 303 $url = str_replace($home_path, '', $url); 304 304 }
Note: See TracChangeset
for help on using the changeset viewer.