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

git-svn-id: http://svn.automattic.com/wordpress/trunk@18106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-06-01 20:33:45 +00:00
parent a0c3f4ce25
commit 9b82395409
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
}