WordPress.org

Make WordPress Core

Changeset 24507


Ignore:
Timestamp:
06/24/13 18:23:45 (10 months ago)
Author:
SergeyBiryukov
Message:

Correct inline docs for is_wp_error(). props johnbillion. fixes #24637.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-error.php

    r19712 r24507  
    195195 * Check whether variable is a WordPress Error. 
    196196 * 
    197  * Looks at the object and if a WP_Error class. Does not check to see if the 
    198  * parent is also WP_Error, so can't inherit WP_Error and still use this 
    199  * function. 
     197 * Returns true if $thing is an object of the WP_Error class. 
    200198 * 
    201199 * @since 2.1.0 
    202200 * 
    203  * @param mixed $thing Check if unknown variable is WordPress Error object. 
     201 * @param mixed $thing Check if unknown variable is a WP_Error object. 
    204202 * @return bool True, if WP_Error. False, if not WP_Error. 
    205203 */ 
Note: See TracChangeset for help on using the changeset viewer.