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

Props BjornW.
Fixes #38104.
Built from https://develop.svn.wordpress.org/trunk@38629


git-svn-id: http://core.svn.wordpress.org/trunk@38572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2016-09-20 13:33:29 +00:00
parent f05c688ec7
commit 3c5204f9f4
3 changed files with 5 additions and 8 deletions

View File

@ -89,13 +89,11 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
<div id="ajax-response"></div>
<form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate"
<?php
<form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate"<?php
/**
* Fires inside the Edit Term 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.
*
* @since 3.7.0
*/

View File

@ -392,10 +392,9 @@ if ( current_user_can($tax->cap->edit_terms) ) {
<div class="form-wrap">
<h2><?php echo $tax->labels->add_new_item; ?></h2>
<form id="addtag" method="post" action="edit-tags.php" class="validate"
<?php
<form id="addtag" method="post" action="edit-tags.php" class="validate"<?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.
*

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38628';
$wp_version = '4.7-alpha-38629';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.