Ticket #19565: 19565.patch
| File 19565.patch, 665 bytes (added by johnbillion, 17 months ago) |
|---|
-
wp-includes/taxonomy.php
1444 1444 * @param int|string $term The term to check 1445 1445 * @param string $taxonomy The taxonomy name to use 1446 1446 * @param int $parent ID of parent term under which to confine the exists search. 1447 * @return mixed Get the term id or Term Object, if exists.1447 * @return mixed 0 if the term doesn't exist, the term ID if $taxonomy is empty, or the term object as an array otherwise. 1448 1448 */ 1449 1449 function term_exists($term, $taxonomy = '', $parent = 0) { 1450 1450 global $wpdb;
