Docs: Correct the description of `{$taxonomy}_term_new_form_tag` hook, making it more consistent with other `*_form_tag` hooks.

Props BjornW.
Fixes #38104.

git-svn-id: https://develop.svn.wordpress.org/trunk@38629 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-09-20 13:32:33 +00:00
parent a679078121
commit d9e0272707
2 changed files with 4 additions and 7 deletions

View File

@ -89,13 +89,11 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
<div id="ajax-response"></div> <div id="ajax-response"></div>
<form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate" <form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate"<?php
<?php
/** /**
* Fires inside the Edit Term form tag. * Fires inside the Edit Term form tag.
* *
* The dynamic portion of the hook name, `$taxonomy`, refers to * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
* the taxonomy slug.
* *
* @since 3.7.0 * @since 3.7.0
*/ */

View File

@ -392,10 +392,9 @@ if ( current_user_can($tax->cap->edit_terms) ) {
<div class="form-wrap"> <div class="form-wrap">
<h2><?php echo $tax->labels->add_new_item; ?></h2> <h2><?php echo $tax->labels->add_new_item; ?></h2>
<form id="addtag" method="post" action="edit-tags.php" class="validate" <form id="addtag" method="post" action="edit-tags.php" class="validate"<?php
<?php
/** /**
* Fires at the beginning of the Add Tag form. * Fires inside the Add Tag form tag.
* *
* The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
* *