WordPress.org

Make WordPress Core

Changeset 7955


Ignore:
Timestamp:
05/19/2008 06:51:28 PM (10 years ago)
Author:
ryan
Message:

Use user_trailingslashit. Props Sam_a. fixes #6996 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/link-template.php

    r7931 r7955  
    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.