Make WordPress Core


Ignore:
Timestamp:
02/06/2018 02:55:38 AM (7 years ago)
Author:
dd32
Message:

XML-RPC: Add default values to IXR_Message for PHP 7.2 compatibility to avoid PHP Warnings.

Fixes #43216 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/IXR/class-IXR-message.php

    r42201 r42652  
    1010class IXR_Message
    1111{
    12     var $message;
    13     var $messageType;  // methodCall / methodResponse / fault
    14     var $faultCode;
    15     var $faultString;
    16     var $methodName;
    17     var $params;
     12    var $message     = false;
     13    var $messageType = false;  // methodCall / methodResponse / fault
     14    var $faultCode   = false;
     15    var $faultString = false;
     16    var $methodName  = '';
     17    var $params      = array();
    1818
    1919    // Current variable stacks
Note: See TracChangeset for help on using the changeset viewer.