Changeset 7954

Show
Ignore:
Timestamp:
05/19/08 18:51:12 (4 months ago)
Author:
ryan
Message:

Use user_trailingslashit. Props Sam_a. fixes #6996 for 2.5

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.5/wp-includes/link-template.php

    r7668 r7954  
    185185            $name = $object->post_name; 
    186186        if (strpos($parentlink, '?') === false) 
    187             $link = trailingslashit($parentlink) . $name . '/'
     187            $link = user_trailingslashit( trailingslashit($parentlink) . $name )
    188188    } 
    189189