WordPress.org

WordPress build repository browser

Changeset 42481


Ignore:
Timestamp:
02/06/18 02:56:32 (2 weeks 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.

Built from https://develop.svn.wordpress.org/trunk@42652

Location:
trunk/wp-includes
Files:
2 edited

Legend:

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

    r38949 r42481  
    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 
  • trunk/wp-includes/version.php

    r42478 r42481  
    55 * @global string $wp_version 
    66 */ 
    7 $wp_version = '5.0-alpha-42649'; 
     7$wp_version = '5.0-alpha-42652'; 
    88 
    99/** 
Note: See TracChangeset for help on using the changeset viewer.