WordPress.org

Make WordPress Core

Ticket #12482: 12482.diff

File 12482.diff, 710 bytes (added by prettyboymp, 5 years ago)
  • wp-includes/taxonomy.php

     
    14641464 * @uses do_action() Calls 'created_term' hook with the term id and taxonomy id as parameters. 
    14651465 * @uses do_action() Calls 'created_$taxonomy' hook with term id and taxonomy id as parameters. 
    14661466 * 
    1467  * @param int|string $term The term to add or update. 
     1467 * @param string $term The term to add or update. 
    14681468 * @param string $taxonomy The taxonomy to which to add the term 
    14691469 * @param array|string $args Change the values of the inserted term 
    14701470 * @return array|WP_Error The Term ID and Term Taxonomy ID