WordPress.org

Make WordPress Core

Changeset 41235


Ignore:
Timestamp:
08/08/17 20:52:01 (10 days ago)
Author:
SergeyBiryukov
Message:

Docs: Correct @param type for $term_id in get_term_children().

Props Soean, wido.
Fixes #41585.

File:
1 edited

Legend:

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

    r41191 r41235  
    922922 * @since 2.3.0 
    923923 * 
    924  * @param string $term_id  ID of Term to get children. 
     924 * @param int    $term_id  ID of Term to get children. 
    925925 * @param string $taxonomy Taxonomy Name. 
    926926 * @return array|WP_Error List of Term IDs. WP_Error returned if `$taxonomy` does not exist. 
Note: See TracChangeset for help on using the changeset viewer.