diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 76ed7ea04f..138491fa77 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -103,12 +103,12 @@ function get_the_category( $post_id = false ) { * * @since 0.71 * - * @param int $cat_ID Category ID. + * @param int $cat_id Category ID. * @return string|WP_Error Category name on success, WP_Error on failure. */ -function get_the_category_by_ID( $cat_ID ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid - $cat_ID = (int) $cat_ID; - $category = get_term( $cat_ID ); +function get_the_category_by_ID( $cat_id ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid + $cat_id = (int) $cat_id; + $category = get_term( $cat_id ); if ( is_wp_error( $category ) ) { return $category; diff --git a/wp-includes/version.php b/wp-includes/version.php index 5ad3a66826..626a361b81 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52957'; +$wp_version = '6.0-alpha-52958'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.