Make WordPress Core

Changeset 18105


Ignore:
Timestamp:
06/01/2011 08:30:29 PM (14 years ago)
Author:
ryan
Message:

Apply editable_slug filter to parent page slugs in get_sample_permalink(). Props solarissmoke, ramiy. fixes #16999

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r18104 r18105  
    11111111        $uri = strrev( stristr( strrev( $uri ), '/' ) );
    11121112        $uri = untrailingslashit($uri);
     1113        $uri = apply_filters( 'editable_slug', $uri );
    11131114        if ( !empty($uri) )
    11141115            $uri .= '/';
Note: See TracChangeset for help on using the changeset viewer.