Apply editable_slug filter in post_slug_meta_box(). Props yoavf, ramiy. fixes #17598

git-svn-id: https://develop.svn.wordpress.org/trunk@18106 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-06-01 20:33:45 +00:00
parent 7cb543f37f
commit 45486df91d
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ function post_comment_meta_box($post) {
*/
function post_slug_meta_box($post) {
?>
<label class="screen-reader-text" for="post_name"><?php _e('Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $post->post_name ); ?>" />
<label class="screen-reader-text" for="post_name"><?php _e('Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( apply_filters('editable_slug', $post->post_name) ); ?>" />
<?php
}