mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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
This commit is contained in:
parent
383b9a44de
commit
ca94aafb50
@ -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 ) {
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user