Make WordPress Core

Changeset 42806


Ignore:
Timestamp:
03/08/2018 07:55:25 PM (7 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/IXR/class-IXR-message.php

    r39007 r42806  
    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.