Make WordPress Core


Ignore:
Timestamp:
12/08/2020 11:49:23 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typo in references to WP_Error in some DocBlocks.

See #51800.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r49693 r49769  
    725725 * Retrieve object_ids of valid taxonomy and term.
    726726 *
    727  * The strings of $taxonomies must exist before this function will continue. On
    728  * failure of finding a valid taxonomy, it will return an WP_Error class, kind
    729  * of like Exceptions in PHP 5, except you can't catch them. Even so, you can
    730  * still test for the WP_Error class and get the error message.
     727 * The strings of $taxonomies must exist before this function will continue.
     728 * On failure of finding a valid taxonomy, it will return a WP_Error class,
     729 * kind of like Exceptions in PHP 5, except you can't catch them. Even so,
     730 * you can still test for the WP_Error class and get the error message.
    731731 *
    732732 * The $terms aren't checked the same as $taxonomies, but still need to exist
Note: See TracChangeset for help on using the changeset viewer.