diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 640bc54c8e..68baee9d31 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -2018,6 +2018,17 @@ function wp_get_archives( $args = '' ) { 'w' => get_query_var( 'w' ), ); + /** + * Filters the arguments for displaying archive links. + * + * @since 7.0.0 + * + * @see wp_get_archives() + * + * @param array $args Arguments. + */ + $args = apply_filters( 'wp_get_archives_args', $args ); + $parsed_args = wp_parse_args( $args, $defaults ); $post_type_object = get_post_type_object( $parsed_args['post_type'] ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 13811f609d..b963cbf6c7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '7.0-alpha-61325'; +$wp_version = '7.0-alpha-61326'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.