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:
parent
7cb543f37f
commit
45486df91d
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user