Ticket #9824: 9824.2.patch
File 9824.2.patch, 656 bytes (added by , 13 years ago) |
---|
-
wp-includes/rewrite.php
1907 1907 1908 1908 $this->use_trailing_slashes = ( '/' == substr($this->permalink_structure, -1, 1) ); 1909 1909 1910 $this->use_verbose_page_rules = (bool) preg_match( "#^/%(postname|category|tag|author)%#", $this->permalink_structure ); 1910 $clean_structure = str_replace( array( '/index.php', '/blog' ), '', $this->permalink_structure ); 1911 $this->use_verbose_page_rules = (bool) preg_match( "#^/%(postname|category|tag|author)%#", $clean_structure ); 1911 1912 } 1912 1913 1913 1914 /**