Ticket #21186: 21186.patch
| File 21186.patch, 454 bytes (added by , 14 years ago) |
|---|
-
wp-includes/rewrite.php
1638 1638 if ( ! $this->using_permalinks() ) 1639 1639 return ''; 1640 1640 1641 $site_root = parse_url( get_option('siteurl'));1641 $site_root = parse_url( site_url() ); 1642 1642 if ( isset( $site_root['path'] ) ) 1643 1643 $site_root = trailingslashit($site_root['path']); 1644 1644