XML-RPC: Add default values to IXR_Message for PHP 7.2 compatibility to avoid PHP Warnings.
Fixes #43216 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@42652 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5c378e02dd
commit
5789855ed1
@ -9,12 +9,12 @@
|
||||
*/
|
||||
class IXR_Message
|
||||
{
|
||||
var $message;
|
||||
var $messageType; // methodCall / methodResponse / fault
|
||||
var $faultCode;
|
||||
var $faultString;
|
||||
var $methodName;
|
||||
var $params;
|
||||
var $message = false;
|
||||
var $messageType = false; // methodCall / methodResponse / fault
|
||||
var $faultCode = false;
|
||||
var $faultString = false;
|
||||
var $methodName = '';
|
||||
var $params = array();
|
||||
|
||||
// Current variable stacks
|
||||
var $_arraystructs = array(); // The stack used to keep track of the current array/struct
|
||||
|
Loading…
Reference in New Issue
Block a user