From 60d0586c272d07e7a5efd0b45dcbcb853d1bf195 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 9 Aug 2022 10:41:10 +0000 Subject: [PATCH] Docs: Various docblock fixes in Core Taxonomy API, as per docs standards. See #55646. Built from https://develop.svn.wordpress.org/trunk@53871 git-svn-id: http://core.svn.wordpress.org/trunk@53430 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 5 +++-- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 6374d73bfa..c4a0ead64c 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -557,7 +557,7 @@ function register_taxonomy( $taxonomy, $object_type, $args = array() ) { * * @since 4.5.0 * - * @global WP $wp Current WordPress environment instance. + * @global WP $wp Current WordPress environment instance. * @global WP_Taxonomy[] $wp_taxonomies List of taxonomies. * * @param string $taxonomy Taxonomy name. @@ -2159,7 +2159,8 @@ function wp_delete_term( $term, $taxonomy, $args = array() ) { * * @param int $cat_ID Category term ID. * @return bool|int|WP_Error Returns true if completes delete action; false if term doesn't exist; - * Zero on attempted deletion of default Category; WP_Error object is also a possibility. + * Zero on attempted deletion of default Category; WP_Error object is + * also a possibility. */ function wp_delete_category( $cat_ID ) { return wp_delete_term( $cat_ID, 'category' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index f73794311c..c3d86263bd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53870'; +$wp_version = '6.1-alpha-53871'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.