Make WordPress Core


Ignore:
Timestamp:
08/16/2013 07:53:50 PM (13 years ago)
Author:
nacin
Message:

Add actions for term editing/creation form tags, for adding enctype attributes. Matches the pattern we've used elsewhere. props JustinSainton, fixes #15261.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-tags.php

    r23563 r25034  
    350350<div class="form-wrap">
    351351<h3><?php echo $tax->labels->add_new_item; ?></h3>
    352 <form id="addtag" method="post" action="edit-tags.php" class="validate">
     352<form id="addtag" method="post" action="edit-tags.php" class="validate"<?php do_action( $taxonomy . '_term_new_form_tag' ); ?>>
    353353<input type="hidden" name="action" value="add-tag" />
    354354<input type="hidden" name="screen" value="<?php echo esc_attr($current_screen->id); ?>" />
Note: See TracChangeset for help on using the changeset viewer.