WordPress.org

Make WordPress Core

Ticket #14111: ticket.14111.diff

File ticket.14111.diff, 387 bytes (added by ptahdunbar, 9 years ago)
  • wp-includes/post.php

     
    28152815                        $slug = $alt_post_name;
    28162816                }
    28172817        }
    2818 
    2819         return $slug;
     2818       
     2819        return apply_filters( "wp_unique_post_slug_{$post_type}", $slug, $post_ID, $post_status, $post_type, $post_parent );
    28202820}
    28212821
    28222822/**