Ticket #2801: 2801.diff
File 2801.diff, 500 bytes (added by , 17 years ago) |
---|
-
wp-includes/link-template.php
168 168 else 169 169 $parentlink = get_permalink( $object->post_parent ); 170 170 if (strpos($parentlink, '?') === false) 171 $link = trim($parentlink, '/') . '/' . $object->post_name . '/';171 $link = rtrim($parentlink, '/') . '/' . $object->post_name . '/'; 172 172 } 173 173 174 174 if (! $link ) {