WordPress.org

Make WordPress Core

Changeset 7954


Ignore:
Timestamp:
05/19/08 18:51:12 (6 years ago)
Author:
ryan
Message:

Use user_trailingslashit. Props Sam_a. fixes #6996 for 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 
Note: See TracChangeset for help on using the changeset viewer.