Ticket #16781: 16781.patch
| File 16781.patch, 529 bytes (added by hakre, 2 years ago) |
|---|
-
wp-includes/class-wp-error.php
### Eclipse Workspace Patch 1.0 #P wordpress
204 204 * @return bool True, if WP_Error. False, if not WP_Error. 205 205 */ 206 206 function is_wp_error($thing) { 207 if ( is_object($thing) && is_a($thing, 'WP_Error') ) 208 return true; 209 return false; 207 return is_a($thing, 'WP_Error'); 210 208 } 211 209 212 210 ?> 211 No newline at end of file