From 5458a4da21993e3aee1c89bdad3ac43f58b09d23 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 16 Jan 2015 23:27:25 +0000 Subject: [PATCH] `wp_set_object_terms()` takes `$taxonomy` as a string. Update `@param`. See #30799. Built from https://develop.svn.wordpress.org/trunk@31221 git-svn-id: http://core.svn.wordpress.org/trunk@31202 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index c3e9fe953b..c7df93bc13 100644 --- a/wp-includes/taxonomy.php +++ b/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. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 17144e6dde..5102b95f6a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31220'; +$wp_version = '4.2-alpha-31221'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.