From 1ac83e86f5290dc45c56924d16ad7b178fa00e99 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 11 Feb 2018 17:15:47 +0000 Subject: [PATCH] Docs: Fix typo in `term_exists()` DocBlock. Props milana_cap, danieltj. Fixes #43268. git-svn-id: https://develop.svn.wordpress.org/trunk@42699 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 8a8dcc09ca..e89704d0b2 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -1328,7 +1328,7 @@ function has_term_meta( $term_id ) { * @param int $parent Optional. ID of parent term under which to confine the exists search. * @return mixed Returns null if the term does not exist. Returns the term ID * if no taxonomy is specified and the term ID exists. Returns - * an array of the term ID and the term taxonomy ID the taxonomy + * an array of the term ID and the term taxonomy ID if the taxonomy * is specified and the pairing exists. */ function term_exists( $term, $taxonomy = '', $parent = null ) {