WordPress.org

Make WordPress Core

Ticket #41585: 41585.patch

File 41585.patch, 501 bytes (added by Soean, 3 years ago)

Changes $term_id @param docs from string to int

  • src/wp-includes/taxonomy.php

     
    921921 *
    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.
    927927 */