Ticket #6996: get_attachment_link_user_trailingslashit.patch
File get_attachment_link_user_trailingslashit.patch, 461 bytes (added by , 17 years ago) |
---|
-
wp-includes/link-template.php
184 184 else 185 185 $name = $object->post_name; 186 186 if (strpos($parentlink, '?') === false) 187 $link = trailingslashit($parentlink) . $name . '/';187 $link = user_trailingslashit( trailingslashit($parentlink) . $name ); 188 188 } 189 189 190 190 if (! $link ) {