Changeset 38363 for trunk/src/wp-includes/load.php
- Timestamp:
- 08/26/2016 09:57:47 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r38334 r38363 1046 1046 return apply_filters( 'wp_doing_ajax', defined( 'DOING_AJAX' ) && DOING_AJAX ); 1047 1047 } 1048 1049 /** 1050 * Check whether variable is a WordPress Error. 1051 * 1052 * Returns true if $thing is an object of the WP_Error class. 1053 * 1054 * @since 2.1.0 1055 * 1056 * @param mixed $thing Check if unknown variable is a WP_Error object. 1057 * @return bool True, if WP_Error. False, if not WP_Error. 1058 */ 1059 function is_wp_error( $thing ) { 1060 return ( $thing instanceof WP_Error ); 1061 }
Note: See TracChangeset
for help on using the changeset viewer.