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
This commit is contained in:
Scott Taylor 2015-01-16 23:27:25 +00:00
parent 02a1f35ac8
commit 5458a4da21
2 changed files with 2 additions and 2 deletions

View File

@ -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.
*/

View File

@ -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.