diff --git a/wp-includes/post.php b/wp-includes/post.php index 7e46f698ff..00a05babc5 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -3368,7 +3368,7 @@ function wp_get_recent_posts( $args = array(), $output = ARRAY_A ) { * @type int $menu_order The order the post should be displayed in. Default 0. * @type string $post_mime_type The mime type of the post. Default empty. * @type string $guid Global Unique ID for referencing the post. Default empty. - * @type array $post_category Array of category names, slugs, or IDs. + * @type array $post_category Array of category IDs. * Defaults to value of the 'default_category' option. * @type array $tags_input Array of tag names, slugs, or IDs. Default empty. * @type array $tax_input Array of taxonomy terms keyed by their taxonomy name. Default empty. @@ -4381,10 +4381,10 @@ function wp_set_post_terms( $post_id = 0, $tags = '', $taxonomy = 'post_tag', $a * * @param int $post_ID Optional. The Post ID. Does not default to the ID * of the global $post. Default 0. - * @param array|int $post_categories Optional. List of categories or ID of category. + * @param array|int $post_categories Optional. List of category IDs, or the ID of a single category. * Default empty array. - * @param bool $append If true, don't delete existing categories, just add on. - * If false, replace the categories with the new categories. + * @param bool $append If true, don't delete existing categories, just add on. + * If false, replace the categories with the new categories. * @return array|false|WP_Error Array of term taxonomy IDs of affected categories. WP_Error or false on failure. */ function wp_set_post_categories( $post_ID = 0, $post_categories = array(), $append = false ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index d71455d61e..5ff83728b4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-beta1-44659'; +$wp_version = '5.1-beta1-44660'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.