WordPress.org

Make WordPress Core

Ticket #28538: 28538.diff

File 28538.diff, 788 bytes (added by simonwheatley, 7 years ago)

Fix the inline docs

  • src/wp-includes/taxonomy.php

     
    16811681 * @param string $taxonomy The taxonomy name to use
    16821682 * @param int $parent ID of parent term under which to confine the exists search.
    16831683 * @return mixed Returns 0 if the term does not exist. Returns the term ID if no taxonomy is specified
    1684  *      and the term ID exists. Returns an array of the term ID and the taxonomy if the pairing exists.
     1684 *      and the term ID exists. Returns an array of the term ID and the term taxonomy ID if the taxonomy is
     1685 *  passed and the pairing exists.
    16851686 */
    16861687function term_exists($term, $taxonomy = '', $parent = 0) {
    16871688        global $wpdb;