Changeset 54895
- Timestamp:
- 11/29/2022 08:58:26 PM (23 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-type.php
r54670 r54895 300 300 */ 301 301 public function __get( $name ) { 302 if ( ! in_array( $name, $this->deprecated_properties ) ) {302 if ( ! in_array( $name, $this->deprecated_properties, true ) ) { 303 303 return; 304 304 } … … 328 328 */ 329 329 public function __isset( $name ) { 330 if ( ! in_array( $name, $this->deprecated_properties ) ) {330 if ( ! in_array( $name, $this->deprecated_properties, true ) ) { 331 331 return false; 332 332 } … … 347 347 */ 348 348 public function __set( $name, $value ) { 349 if ( ! in_array( $name, $this->deprecated_properties ) ) {349 if ( ! in_array( $name, $this->deprecated_properties, true ) ) { 350 350 $this->{$name} = $value; 351 351 return; -
trunk/src/wp-includes/pluggable.php
r54891 r54895 2880 2880 } 2881 2881 2882 if ( in_array( $args['decoding'], array( 'async', 'sync', 'auto' ) ) && ! preg_match( '/\bdecoding\s*=/', $extra_attr ) ) {2882 if ( in_array( $args['decoding'], array( 'async', 'sync', 'auto' ), true ) && ! preg_match( '/\bdecoding\s*=/', $extra_attr ) ) { 2883 2883 if ( ! empty( $extra_attr ) ) { 2884 2884 $extra_attr .= ' ';
Note: See TracChangeset
for help on using the changeset viewer.