From 4e9f90caa176d62fa255991f014cc521c6d39655 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 14 Jan 2016 17:55:46 +0000 Subject: [PATCH] Docs: Add a changelog entry to the DocBlock for `get_post_type_archive_link()` denoting that posts support was added in 4.5. See [36225]. See #19902. git-svn-id: https://develop.svn.wordpress.org/trunk@36300 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ) {