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
This commit is contained in:
Drew Jaynes 2016-01-14 17:55:46 +00:00
parent 740cab2a4b
commit 4e9f90caa1

View File

@ -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 3.1.0
* @since 4.5.0 Support for posts was added.
* *
* @global WP_Rewrite $wp_rewrite * @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. * @return string|false The post type archive permalink.
*/ */
function get_post_type_archive_link( $post_type ) { function get_post_type_archive_link( $post_type ) {