diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 0b8354a92b..4176db18f9 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -1110,13 +1110,14 @@ function get_search_comments_feed_link($search_query = '', $feed = '') { } /** - * Retrieve the permalink for a post type archive. + * Retrieves the permalink for a post type archive. * * @since 3.1.0 + * @since 4.5.0 Support for posts was added. * * @global WP_Rewrite $wp_rewrite * - * @param string $post_type Post type + * @param string $post_type Post type. * @return string|false The post type archive permalink. */ function get_post_type_archive_link( $post_type ) {