Ticket #17598: editable-slug.diff
File editable-slug.diff, 713 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/meta-boxes.php
506 506 */ 507 507 function post_slug_meta_box($post) { 508 508 ?> 509 <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); ?>" />509 <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) ); ?>" /> 510 510 <?php 511 511 } 512 512