From d9e0272707eac2e833cfb6541a799237f3e5ce18 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 20 Sep 2016 13:32:33 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@38629 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-tag-form.php | 6 ++---- src/wp-admin/edit-tags.php | 5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/wp-admin/edit-tag-form.php b/src/wp-admin/edit-tag-form.php index 7d218dd576..accc1d2b2b 100644 --- a/src/wp-admin/edit-tag-form.php +++ b/src/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; ?>

-