WordPress.org

Make WordPress Core

Ticket #22338: 22338.2.patch

File 22338.2.patch, 406 bytes (added by JustinSainton, 17 months ago)

Helping a brother out.

  • wp-admin/includes/post.php

     
    10441044        $post->post_name = $original_name; 
    10451045        unset($post->filter); 
    10461046 
    1047         return $permalink; 
     1047        return apply_filters( 'get_sample_permalink', $permalink, $title, $name, $id, $post ); 
    10481048} 
    10491049 
    10501050/**