WordPress.org

Make WordPress Core

Ticket #47387: 47387.diff

File 47387.diff, 989 bytes (added by priyankkpatel, 11 months ago)

Patch for wp-includes/class-json.php

  • src/wp-includes/class-json.php

     src/wp-includes/class-json.php | 6 +++---
     1 file changed, 3 insertions(+), 3 deletions(-)
    
    diff --git a/src/wp-includes/class-json.php b/src/wp-includes/class-json.php
    index 646c4b7a7c..614023df96 100644
    a b class Services_JSON 
    142142    */
    143143    function __construct( $use = 0 )
    144144    {
    145         $this->use = $use;
     145        $this->use                   = $use;
    146146        $this->_mb_strlen            = function_exists('mb_strlen');
    147147        $this->_mb_convert_encoding  = function_exists('mb_convert_encoding');
    148148        $this->_mb_substr            = function_exists('mb_substr');
    class Services_JSON 
    155155                self::__construct( $use );
    156156        }
    157157    // private - cache the mbstring lookup results..
    158     var $_mb_strlen = false;
    159     var $_mb_substr = false;
     158    var $_mb_strlen           = false;
     159    var $_mb_substr           = false;
    160160    var $_mb_convert_encoding = false;
    161161   
    162162   /**