From 27297bcddf3e7558234258a61a84902cb0a912e0 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 3 Dec 2014 10:17:24 +0000 Subject: [PATCH] Use the correct hash notation syntax for the `wp_insert_term()` DocBlock. See #28298. Built from https://develop.svn.wordpress.org/trunk@30724 git-svn-id: http://core.svn.wordpress.org/trunk@30714 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 20 +++++++++----------- wp-includes/version.php | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 854151e973..f7c99f8fc0 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -2761,20 +2761,18 @@ function wp_get_object_terms($object_ids, $taxonomies, $args = array()) { * @since 2.3.0 * * @param string $term The term to add or update. - * @param string $taxonomy The taxonomy to which to add the term + * @param string $taxonomy The taxonomy to which to add the term. * @param array|string $args { - * Arguments to change values of the inserted term. + * Optional. Array or string of arguments for inserting a term. * - * @type string 'alias_of' Slug of the term to make this term an alias of. - * Default empty string. Accepts a term slug. - * @type string 'description' The term description. - * Default empty string. - * @type int 'parent' The id of the parent term. - * Default 0. - * @type string 'slug' The term slug to use. - * Default empty string. + * @type string $alias_of Slug of the term to make this term an alias of. + * Default empty string. Accepts a term slug. + * @type string $description The term description. Default empty string. + * @type int $parent The id of the parent term. Default 0. + * @type string $slug The term slug to use. Default empty string. * } - * @return array|WP_Error An array containing the term_id and term_taxonomy_id, WP_Error otherwise. + * @return array|WP_Error An array containing the `term_id` and `term_taxonomy_id`, + * {@see WP_Error} otherwise. */ function wp_insert_term( $term, $taxonomy, $args = array() ) { global $wpdb; diff --git a/wp-includes/version.php b/wp-includes/version.php index 69d8804e5a..f374c7bbe5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30723'; +$wp_version = '4.1-beta2-30724'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.