[wp-trac] [WordPress Trac] #31568: Add a 2nd parameter to 'editable_slug' filter for context
WordPress Trac
noreply at wordpress.org
Mon Mar 9 06:45:21 UTC 2015
#31568: Add a 2nd parameter to 'editable_slug' filter for context
----------------------------------+------------------------------
Reporter: MikeSchinkel | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-docs | Focuses: administration
----------------------------------+------------------------------
Changes (by DrewAPicture):
* keywords: => has-patch needs-docs
* component: Rewrite Rules => Taxonomy
Comment:
Hi Mike,
Looks like you missed adding the new parameter to the hook doc, which is
wp-admin/edit-tag-form.php. You'll also need to add `@param` and changeset
entries to the hook doc for the new parameter. e.g.
{{{
@since 4.2.0 The `$tag` parameter was added.
}}}
and
{{{
@param object $tag Term object.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31568#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list