Opened 13 years ago
Closed 10 years ago
#20630 closed defect (bug) (fixed)
XML-RPC Extending documentation for methods called with a single param
Reported by: | scott.gonzalez | Owned by: | |
---|---|---|---|
Milestone: | WordPress.org | Priority: | normal |
Severity: | normal | Version: | |
Component: | XML-RPC | Keywords: | |
Focuses: | docs | Cc: |
Description
When an XML-RPC method is called with a single parameter, the method will receive the value directly instead of receiving an array with a single value. This seems to be intended, though unexpected, behavior. The documentation should be updated to mention this.
The related code is inside IXR_Server->call().
Change History (3)
#3
@
10 years ago
- Keywords needs-docs removed
- Milestone changed from Awaiting Review to WordPress.org
- Resolution set to fixed
- Status changed from new to closed
Added a small note to it. Note: Passing a single argument to a XML-RPC call will not result in an array. You then can request the value by just using $args.
. If you want it to make it better you can do that too.
Note: See
TracTickets for help on using
tickets.
http://codex.wordpress.org/XML-RPC_Extending