mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-31 13:37:51 +01:00
XML-RPC: Add default values to IXR_Message for PHP 7.2 compatibility to avoid PHP Warnings.
Fixes #43216 for trunk. Built from https://develop.svn.wordpress.org/trunk@42652 git-svn-id: http://core.svn.wordpress.org/trunk@42481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8f0ab2efb8
commit
0eb9e0c8d0
@ -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 = '5.0-alpha-42649';
|
||||
$wp_version = '5.0-alpha-42652';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user