Ticket #40568: 40568.2.diff
File 40568.2.diff, 642 bytes (added by , 4 years ago) |
---|
-
src/wp-includes/load.php
1505 1505 1506 1506 if ( $is_wp_error ) { 1507 1507 /** 1508 * Fires when `is_wp_error()` is called and it 's an instance of `WP_Error`.1508 * Fires when `is_wp_error()` is called and its parameter is an instance of `WP_Error`. 1509 1509 * 1510 1510 * @since 5.6.0 1511 1511 * 1512 1512 * @param WP_Error $thing The error object passed to `is_wp_error()`. 1513 1513 */ 1514 do_action( 'wp_error_ checked', $thing );1514 do_action( 'wp_error_seen', $thing ); 1515 1515 } 1516 1516 1517 1517 return $is_wp_error;