Make WordPress Core

Ticket #12746: 12746.diff

File 12746.diff, 874 bytes (added by jfarthing84, 15 years ago)

Do '[taxonomy]_edit_form' hooks after submit button.

  • edit-tag-form.php

     
    6868                do_action($taxonomy . '_edit_form_fields', $tag, $taxonomy);
    6969                ?>
    7070        </table>
    71 <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>
    7271<?php
    7372if ( 'category' == $taxonomy )
    7473        do_action('edit_category_form', $tag);
     
    7675        do_action('edit_tag_form', $tag);
    7776do_action($taxonomy . '_edit_form', $tag, $taxonomy);
    7877?>
     78<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>
    7979</form>
    8080</div>