From ca94aafb5057c9c0a151a56ef51168f44d9a65d6 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 14 Jan 2016 17:56:27 +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. Built from https://develop.svn.wordpress.org/trunk@36300 git-svn-id: http://core.svn.wordpress.org/trunk@36267 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 5 +++-- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 0b8354a92b..4176db18f9 100644 --- a/wp-includes/link-template.php +++ b/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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 947fec5432..1e9710a893 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36299'; +$wp_version = '4.5-alpha-36300'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.