WordPress.org

Make WordPress Core

Ticket #47164: 47164.diff

File 47164.diff, 522 bytes (added by bitcomplex, 22 months ago)
  • src/wp-includes/formatting.php

     
    48444844        } elseif ( is_object( $value ) ) {
    48454845                $object_vars = get_object_vars( $value );
    48464846                foreach ( $object_vars as $property_name => $property_value ) {
     4847                        if (ord($property_name) === 0) {
     4848                                continue;
     4849                        }
    48474850                        $value->$property_name = map_deep( $property_value, $callback );
    48484851                }
    48494852        } else {