Changeset 47808 for trunk/src/wp-includes/class-wp-user.php
- Timestamp:
- 05/16/2020 06:40:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-user.php
r47550 r47808 193 193 } 194 194 195 if ( 'id' == $field ) {195 if ( 'id' === $field ) { 196 196 // Make sure the value is numeric to avoid casting objects, for example, 197 197 // to int 1. … … 264 264 */ 265 265 public function __isset( $key ) { 266 if ( 'id' == $key ) {266 if ( 'id' === $key ) { 267 267 _deprecated_argument( 268 268 'WP_User->id', … … 297 297 */ 298 298 public function __get( $key ) { 299 if ( 'id' == $key ) {299 if ( 'id' === $key ) { 300 300 _deprecated_argument( 301 301 'WP_User->id', … … 338 338 */ 339 339 public function __set( $key, $value ) { 340 if ( 'id' == $key ) {340 if ( 'id' === $key ) { 341 341 _deprecated_argument( 342 342 'WP_User->id', … … 363 363 */ 364 364 public function __unset( $key ) { 365 if ( 'id' == $key ) {365 if ( 'id' === $key ) { 366 366 _deprecated_argument( 367 367 'WP_User->id',
Note: See TracChangeset
for help on using the changeset viewer.