Opened 11 years ago
Closed 11 years ago
#25361 closed enhancement (fixed)
Hook Docs: wp-admin/admin-post.php
Reported by: | ericlewis | Owned by: | DrewAPicture |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Inline Docs | Keywords: | has-patch commit |
Focuses: | Cc: |
Attachments (2)
Change History (9)
#1
@
11 years ago
- Keywords needs-patch added; has-patch removed
- Milestone changed from Awaiting Review to 3.7
#2
follow-up:
↓ 3
@
11 years ago
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);
#3
in reply to:
↑ 2
@
11 years ago
Replying to 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?
#4
@
11 years ago
25361.1.diff fixes items listed in @DrewAPicture's review in comment 1.
Note: See
TracTickets for help on using
tickets.
Couple notes on 25361.diff: