From 1f90e70b7debcca586f8ce8d7de8fac3b7ee6d33 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Mon, 9 Mar 2015 06:42:58 +0000 Subject: [PATCH] Fix the editable_slug hook documentation, the PHPDoc must come directly before the hook call, with no HTML inbetween. Props DrewAPicture. Fixes #31569 git-svn-id: https://develop.svn.wordpress.org/trunk@31687 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-tag-form.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/edit-tag-form.php b/src/wp-admin/edit-tag-form.php index 73db25b00f..0b00ded844 100644 --- a/src/wp-admin/edit-tag-form.php +++ b/src/wp-admin/edit-tag-form.php @@ -95,10 +95,11 @@ do_action( "{$taxonomy}_term_edit_form_tag" ); * * @since 2.6.0 * - * @param string $slug The current term slug. + * @param string $tag_slug The current term slug. */ + $slug = isset( $tag->slug ) ? apply_filters( 'editable_slug', $tag->slug ) : ''; ?> - +