Changeset 8944 for trunk/wp-admin/edit-tag-form.php
- Timestamp:
- 09/21/2008 08:41:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tag-form.php
r8656 r8944 37 37 <tr class="form-field form-required"> 38 38 <th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th> 39 <td><input name="name" id="name" type="text" value="<?php echo attribute_escape($tag->name); ?>" size="40" aria-required="true" />39 <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo attribute_escape($tag->name); ?>" size="40" aria-required="true" /> 40 40 <p><?php _e('The name is how the tag appears on your site.'); ?></p></td> 41 41 </tr> 42 42 <tr class="form-field"> 43 43 <th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th> 44 <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape(apply_filters('editable_slug', $tag->slug)); ?>" size="40" />44 <td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo attribute_escape(apply_filters('editable_slug', $tag->slug)); ?>" size="40" /> 45 45 <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> 46 46 </tr>
Note: See TracChangeset
for help on using the changeset viewer.