WordPress.org

Make WordPress Core

Ticket #15261: tag_edit_form_tag_action.patch

File tag_edit_form_tag_action.patch, 905 bytes (added by JustinSainton, 3 years ago)

Patch for adding do_action.

  • C:\Users\Justin\

    # This patch file was generated by NetBeans IDE
    # This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
    # It uses platform neutral UTF-8 encoding.
    # Above lines and this line are ignored by the patching process.
    old new  
    299299 
    300300<div class="form-wrap"> 
    301301<h3><?php echo $tax->labels->add_new_item; ?></h3> 
    302 <form id="addtag" method="post" action="edit-tags.php" class="validate"> 
     302<form id="addtag" method="post" action="edit-tags.php" class="validate"<?php do_action('tag_edit_form_tag'); ?>> 
    303303<input type="hidden" name="action" value="add-tag" /> 
    304304<input type="hidden" name="screen" value="<?php echo esc_attr($current_screen->id); ?>" /> 
    305305<input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" />