Opened 9 years ago
Closed 9 years ago
#41379 closed defect (bug) (fixed)
Document $r parameter for 'http_api_debug' action
| Reported by: | ronakganatra | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9 |
| Component: | HTTP API | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
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 Awaiting Review → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
documentation added of parameter