Make WordPress Core


Ignore:
Timestamp:
01/15/2021 08:06:50 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of false.

Follow-up to [46696], [47060], [49926], [49927], [49929].

See #51800.

File:
1 edited

Legend:

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

    r49947 r49963  
    47254725 * @param int    $term_id  Term ID.
    47264726 * @param string $taxonomy Taxonomy name.
    4727  * @return int|false False on error.
     4727 * @return int|false Parent term ID on success, false on failure.
    47284728 */
    47294729function wp_get_term_taxonomy_parent_id( $term_id, $taxonomy ) {
Note: See TracChangeset for help on using the changeset viewer.