Ticket #43268: 43268.patch
| File 43268.patch, 771 bytes (added by , 8 years ago) |
|---|
-
src/wp-includes/taxonomy.php
1328 1328 * @param int $parent Optional. ID of parent term under which to confine the exists search. 1329 1329 * @return mixed Returns null if the term does not exist. Returns the term ID 1330 1330 * if no taxonomy is specified and the term ID exists. Returns 1331 * an array of the term ID and the term taxonomy ID the taxonomy1331 * an array of the term ID and the term taxonomy ID if the taxonomy 1332 1332 * is specified and the pairing exists. 1333 1333 */ 1334 1334 function term_exists( $term, $taxonomy = '', $parent = null ) {