Changeset 49023 for trunk/src/wp-includes/load.php
- Timestamp:
- 09/21/2020 11:11:10 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r49022 r49023 1457 1457 */ 1458 1458 function is_wp_error( $thing ) { 1459 $is = ( $thing instanceof WP_Error );1460 1461 if ( $is ) {1459 $is_wp_error = ( $thing instanceof WP_Error ); 1460 1461 if ( $is_wp_error ) { 1462 1462 /** 1463 1463 * Fires when `is_wp_error()` is called and it's an instance of `WP_Error`. … … 1470 1470 } 1471 1471 1472 return $is ;1472 return $is_wp_error; 1473 1473 } 1474 1474
Note: See TracChangeset
for help on using the changeset viewer.