Opened 17 years ago
Closed 17 years ago
#4874 closed defect (bug) (wontfix)
XMLRPC pingback accepts array elements as separate parameters
Reported by: | ringmaster | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | normal | Version: | |
Component: | XML-RPC | Keywords: | |
Focuses: | Cc: |
Description
According to the pingback spec, the XMLRPC server should accept two parameters in the RPC for pingback.
WordPress seems to accept a single array parameter for pingbacks, in addition to two separate parameters. While this is more permissive behavior than what is required, and obviously it works, I'm not sure if it is indicative of a larger issue in handling XMLRPC requests properly, since it really shouldn't accept the single array's two elements as two separate parameters to the RPC.
Change History (4)
#2
@
17 years ago
Skimming /wp-includes/class-IXR.php, it appears to be a feature of the IXR library (look at the IXR_Value class.
if ($type == 'array') { for ($i = 0, $j = count($this->data); $i < $j; $i++) { $this->data[$i] = new IXR_Value($this->data[$i]); } }
Note: See
TracTickets for help on using
tickets.
ringmaster, you didn't tell us what version you experienced this behavior with.