Permalink
Browse files

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
  • Loading branch information...
1 parent f05c688 commit 3c5204f9f481e6839f60ee50e17c1551b6234f2b @SergeyBiryukov SergeyBiryukov committed Sep 20, 2016
Showing with 5 additions and 8 deletions.
  1. +2 −4 wp-admin/edit-tag-form.php
  2. +2 −3 wp-admin/edit-tags.php
  3. +1 −1 wp-includes/version.php
@@ -89,13 +89,11 @@
<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
*/
@@ -392,10 +392,9 @@
<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.
*
@@ -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.

0 comments on commit 3c5204f

Please sign in to comment.