Ticket #35252: 35252.diff
File 35252.diff, 1.0 KB (added by , 9 years ago) |
---|
-
src/wp-admin/edit-tag-form.php
107 107 <input type="hidden" name="tag_ID" value="<?php echo esc_attr($tag->term_id) ?>" /> 108 108 <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy) ?>" /> 109 109 <?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?> 110 111 <?php 112 /** 113 * Fires at the beginning of the Edit Term form. 114 * 115 * At this point, the required hidden fields and nonces have already been output. 116 * 117 * @since 4.5.0 118 * 119 * @param object $tag Current taxonomy term object. 120 * @param string $taxonomy Current $taxonomy slug. 121 */ 122 do_action( "{$taxonomy}_term_edit_form_top", $tag, $taxonomy ); ?> 123 110 124 <table class="form-table"> 111 125 <tr class="form-field form-required term-name-wrap"> 112 126 <th scope="row"><label for="name"><?php _ex( 'Name', 'term name' ); ?></label></th>