XML-RPC: Add default values to IXR_Message for PHP 7.2 compatibility to avoid PHP Warnings.
Props dd32. Merges [42652] to the 4.9 branch. Fixes #43216. Built from https://develop.svn.wordpress.org/branches/4.9@42806 git-svn-id: http://core.svn.wordpress.org/branches/4.9@42636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e0f0ee5de6
commit
652bc5d967
|
@ -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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9.5-alpha-42805';
|
||||
$wp_version = '4.9.5-alpha-42806';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue