Make WordPress Core

Ticket #47862: 47862.diff

File 47862.diff, 708 bytes (added by atachibana, 6 years ago)
  • link-template.php

     
    12491249 * @since 3.1.0
    12501250 *
    12511251 * @param string $post_type Post type
    1252  * @param string $feed      Optional. Feed type. Default empty.
     1252 * @param string $feed      Optional. Feed type. f $feed is empty, the result of get_default_feed() is used
     1253 *                          (the default feed is 'rss2', unless it is changed via the default_feed filter).
     1254 *                          Default empty.
    12531255 * @return string|false The post type feed permalink.
    12541256 */
    12551257function get_post_type_archive_feed_link( $post_type, $feed = '' ) {