From cd2d6d27d9dc811a741dcbf3d61218273a03db0e Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 16 Jan 2015 23:26:38 +0000 Subject: [PATCH] `wp_set_object_terms()` takes `$taxonomy` as a string. Update `@param`. See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31221 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 c3e9fe953b..c7df93bc13 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -2971,7 +2971,7 @@ function wp_insert_term( $term, $taxonomy, $args = array() ) { * @param int $object_id The object to relate to. * @param array|int|string $terms A single term slug, single term id, or array of either term slugs or ids. * Will replace all existing related terms in this taxonomy. - * @param array $taxonomy The context in which to relate the term to the object. + * @param string $taxonomy The context in which to relate the term to the object. * @param bool $append Optional. If false will delete difference of terms. Default false. * @return array|WP_Error Affected Term IDs. */