Opened 9 years ago
Closed 8 years ago
#41379 closed defect (bug) (fixed)
Document $r parameter for 'http_api_debug' action
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | HTTP API | Keywords: | has-patch |
| Focuses: | docs | Cc: |
Description
Documentation needs improvement in do_action parameters in class file. parameter is passed in do_action() but not defined in documentation.
Attachments (2)
Change History (7)
#1
follow-up:
↓ 2
@
9 years ago
- Milestone changed from Awaiting Review to 4.9
Hi @ronakganatra, welcome to WordPress Trac! Thanks for the patch.
The $r parameter is already documented as $args here.
That said, other filters (http_request_args, pre_http_request, http_response) have it documented as $r, so we could probably change it to $r in http_api_debug as well for consistency.
#2
in reply to:
↑ 1
@
9 years ago
Replying to SergeyBiryukov:
thanx for reviewing.
Note: See
TracTickets for help on using
tickets.
documentation added of parameter