Changeset 54895 for trunk/src/wp-includes/class-wp-block-type.php
- Timestamp:
- 11/29/2022 08:58:26 PM (3 years ago)
- File:
-
- 1 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;
Note: See TracChangeset
for help on using the changeset viewer.