[wp-trac] [WordPress Trac] #25361: Hook Docs: wp-admin/admin-post.php
WordPress Trac
noreply at wordpress.org
Sat Sep 21 07:00:32 UTC 2013
#25361: Hook Docs: wp-admin/admin-post.php
-------------------------+------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.7
Component: Inline Docs | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+------------------
Comment (by rmccue):
Hmm. I'm not sure how we've handled cases like this previously, but would
it be helpful to add an `@alias` PHPDoc tag to the parser for cases like
this?
Something like:
{{{
/**
* This is my action.
*
* @alias first_action This is one action that could be called.
* @alias second_{$variable}_action This is another that could be called.
*/
do_action($action);
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25361#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list