Make WordPress Core

Ticket #37224: 37224.2.patch

File 37224.2.patch, 767 bytes (added by Kenshino, 10 years ago)

Updated patch with doc description altered as discussed on Slack

  • src/wp-includes/taxonomy.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    13781378 *
    13791379 * @global wpdb $wpdb WordPress database abstraction object.
    13801380 *
    1381  * @param int|string $term     The term to check
     1381 * @param int|string $term     The term to check. Accepts term ID, slug, or name.
    13821382 * @param string     $taxonomy The taxonomy name to use
    13831383 * @param int        $parent   Optional. ID of parent term under which to confine the exists search.
    13841384 * @return mixed Returns null if the term does not exist. Returns the term ID