`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:
parent
02a1f35ac8
commit
5458a4da21
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue