- Timestamp:
- 04/05/2020 03:00:44 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-text-diff-renderer-table.php
r47122 r47550 503 503 */ 504 504 public function __get( $name ) { 505 if ( in_array( $name, $this->compat_fields ) ) {505 if ( in_array( $name, $this->compat_fields, true ) ) { 506 506 return $this->$name; 507 507 } … … 518 518 */ 519 519 public function __set( $name, $value ) { 520 if ( in_array( $name, $this->compat_fields ) ) {520 if ( in_array( $name, $this->compat_fields, true ) ) { 521 521 return $this->$name = $value; 522 522 } … … 532 532 */ 533 533 public function __isset( $name ) { 534 if ( in_array( $name, $this->compat_fields ) ) {534 if ( in_array( $name, $this->compat_fields, true ) ) { 535 535 return isset( $this->$name ); 536 536 } … … 545 545 */ 546 546 public function __unset( $name ) { 547 if ( in_array( $name, $this->compat_fields ) ) {547 if ( in_array( $name, $this->compat_fields, true ) ) { 548 548 unset( $this->$name ); 549 549 }
Note: See TracChangeset
for help on using the changeset viewer.