web/wp-admin/edit-tag-form.php
branchwordpress
changeset 132 4d4862461b8d
parent 109 03b0d1493584
equal deleted inserted replaced
131:a4642baaf829 132:4d4862461b8d
    31 <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy) ?>" />
    31 <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy) ?>" />
    32 <?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?>
    32 <?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?>
    33 	<table class="form-table">
    33 	<table class="form-table">
    34 		<tr class="form-field form-required">
    34 		<tr class="form-field form-required">
    35 			<th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th>
    35 			<th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th>
    36 			<td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" />
    36 			<td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" /></td>
    37             <p class="description"><?php _e('The name is how the tag appears on your site.'); ?></p></td>
       
    38 		</tr>
    37 		</tr>
    39 		<tr class="form-field">
    38 		<tr class="form-field">
    40 			<th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th>
    39 			<th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th>
    41 			<td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo esc_attr(apply_filters('editable_slug', $tag->slug)); ?>" size="40" />
    40 			<td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo esc_attr(apply_filters('editable_slug', $tag->slug)); ?>" size="40" />
    42             <p class="description"><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td>
    41             <p class="description"><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td>