Ticket #35012: query.php.patch
File query.php.patch, 346 bytes (added by , 9 years ago) |
---|
-
query.php
5023 5023 if ( ! $link ) { 5024 5024 return; 5025 5025 } 5026 5026 if ( $link === get_post_permalink() ) { 5027 return; 5028 } 5027 5029 wp_redirect( $link, 301 ); // Permanent redirect 5028 5030 exit; 5029 5031 endif;