diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index f57e3d291e..019854d127 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -91,10 +91,12 @@ function get_the_category( $id = false ) { * Filter the array of categories to return for a post. * * @since 3.1.0 + * @since 4.4.0 Added `$id` parameter. * * @param array $categories An array of categories to return for the post. + * @param int $id ID of the post. */ - return apply_filters( 'get_the_categories', $categories ); + return apply_filters( 'get_the_categories', $categories, $id ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 1f84df4c9d..4870ab0868 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34623'; +$wp_version = '4.4-alpha-34624'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.