[wp-trac] [WordPress Trac] #19451: Cannot distinguish which WordPress Signup stage I am
WordPress Trac
noreply at wordpress.org
Thu Sep 19 20:20:55 UTC 2013
#19451: Cannot distinguish which WordPress Signup stage I am
----------------------------------+------------------
Reporter: Cimmo | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.7
Component: Multisite | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch needs-docs |
----------------------------------+------------------
Comment (by jeremyfelt):
Replying to [comment:10 DrewAPicture]:
> Replying to [comment:9 jeremyfelt]:
> > [attachment:19451.3.diff] adds docs to each of the 3 actions.
>
> Since this is the same hook used three different places, just write a
single doc block for the first one. We should probably have a long
description citing the different contexts available via the passed string.
>
> Then just mark the other two actions with `//duplicate_hook` (no space)
This makes more when a hook is used multiple times in one function. A
little less when we're dealing with hooks in 3 different functions. If we
use `//duplicate hook`, should it also point to the function where the
hook is documented?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19451#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list