From 3c5204f9f481e6839f60ee50e17c1551b6234f2b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 20 Sep 2016 13:33:29 +0000 Subject: [PATCH] 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 --- wp-admin/edit-tag-form.php | 6 ++---- wp-admin/edit-tags.php | 5 ++--- wp-includes/version.php | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index 7d218dd576..accc1d2b2b 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -89,13 +89,11 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
-
cap->edit_terms) ) {

labels->add_new_item; ?>

-