Make WordPress Core

Changeset 36300


Ignore:
Timestamp:
01/14/2016 05:55:46 PM (9 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/link-template.php

    r36225 r36300  
    11111111
    11121112/**
    1113  * Retrieve the permalink for a post type archive.
     1113 * Retrieves the permalink for a post type archive.
    11141114 *
    11151115 * @since 3.1.0
     1116 * @since 4.5.0 Support for posts was added.
    11161117 *
    11171118 * @global WP_Rewrite $wp_rewrite
    11181119 *
    1119  * @param string $post_type Post type
     1120 * @param string $post_type Post type.
    11201121 * @return string|false The post type archive permalink.
    11211122 */
Note: See TracChangeset for help on using the changeset viewer.