mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 18:13:00 +01:00
Move edit_<tax>_form and <tax>_edit_form to above submit button. Fixes #12746
git-svn-id: https://develop.svn.wordpress.org/trunk@14398 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d2b523c847
commit
a7b2ec8515
@ -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…
x
Reference in New Issue
Block a user