Changeset 7896
- Timestamp:
- 05/05/2008 05:08:13 PM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-category-form.php
r7891 r7896 32 32 <tr class="form-field"> 33 33 <th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th> 34 <td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo attribute_escape( $category->slug); ?>" size="40" /><br />34 <td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo attribute_escape(apply_filters('editable_slug', $category->slug)); ?>" size="40" /><br /> 35 35 <?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td> 36 36 </tr> -
trunk/wp-admin/edit-link-category-form.php
r7891 r7896 31 31 <tr class="form-field"> 32 32 <th scope="row" valign="top"><label for="slug"><?php _e('Category slug') ?></label></th> 33 <td><input name="slug" id="slug" type="text" value="<?php echo $category->slug; ?>" size="40" />33 <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape(apply_filters('editable_slug', $category->slug)); ?>" size="40" /> 34 34 <?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td> 35 35 </tr> -
trunk/wp-admin/edit-tag-form.php
r7891 r7896 32 32 <tr class="form-field"> 33 33 <th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th> 34 <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape( $tag->slug); ?>" size="40" />34 <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape(apply_filters('editable_slug', $tag->slug)); ?>" size="40" /> 35 35 <p><?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td> 36 36 </tr> -
trunk/wp-admin/includes/post.php
r7891 r7896 628 628 } 629 629 630 $permalink = array($permalink, $post->post_name);630 $permalink = array($permalink, apply_filters('editable_slug', $post->post_name)); 631 631 $post->post_status = $original_status; 632 632 $post->post_date = $original_date;
Note: See TracChangeset
for help on using the changeset viewer.