[wp-trac] [WordPress Trac] #25361: Hook Docs: wp-admin/admin-post.php

WordPress Trac noreply at wordpress.org
Sat Sep 21 07:09: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 DrewAPicture):

 Replying to [comment:2 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);
 > }}}

 I agree it could be useful. We can discuss it next week at the inline docs
 chat on Wednesday, 18:00 UTC. Or, if you'd like to pick a better time for
 you, we can meet up and talk about it in #wordpress-sfd or something.
 Interested?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25361#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list