Move edit_<tax>_form and <tax>_edit_form to above submit button. Fixes #12746
git-svn-id: http://svn.automattic.com/wordpress/trunk@14398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ea7a0076b6
commit
c5ff2b4ae9
|
@ -68,7 +68,6 @@ do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?>
|
|||
do_action($taxonomy . '_edit_form_fields', $tag, $taxonomy);
|
||||
?>
|
||||
</table>
|
||||
<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php echo esc_attr( sprintf(_x('Update %s', '%s: singular taxonomy name'), $tax->singular_label)); ?>" /></p>
|
||||
<?php
|
||||
if ( 'category' == $taxonomy )
|
||||
do_action('edit_category_form', $tag);
|
||||
|
@ -76,5 +75,6 @@ else
|
|||
do_action('edit_tag_form', $tag);
|
||||
do_action($taxonomy . '_edit_form', $tag, $taxonomy);
|
||||
?>
|
||||
<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php echo esc_attr( sprintf(_x('Update %s', '%s: singular taxonomy name'), $tax->singular_label)); ?>" /></p>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue