Make WordPress Core


Ignore:
Timestamp:
05/05/2008 05:08:13 PM (18 years ago)
Author:
ryan
Message:

Add editable_slug filter. Props nbachiyski. see #6915

File:
1 edited

Legend:

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

    r7891 r7896  
    628628    }
    629629
    630     $permalink = array($permalink, $post->post_name);
     630    $permalink = array($permalink, apply_filters('editable_slug', $post->post_name));
    631631    $post->post_status = $original_status;
    632632    $post->post_date = $original_date;
Note: See TracChangeset for help on using the changeset viewer.