Make WordPress Core

Ticket #39130: 39130.4.patch

File 39130.4.patch, 843 bytes (added by keesiemeijer, 8 years ago)

improvements for /wp-includes/link-template.php

  • src/wp-includes/link-template.php

     
    846846                 *
    847847                 * @param string $link The taxonomy feed link.
    848848                 * @param string $feed Feed type.
    849                  * @param string $feed The taxonomy name.
     849                 * @param string $taxonomy The taxonomy name.
    850850                 */
    851851                $link = apply_filters( 'taxonomy_feed_link', $link, $feed, $taxonomy );
    852852        }
     
    35833583         *
    35843584         * @since 4.6.0
    35853585         *
    3586          * @param string  $string The post's canonical URL.
    3587          * @param WP_Post $post   Post object.
     3586         * @param string  $canonical_url The post's canonical URL.
     3587         * @param WP_Post $post          Post object.
    35883588         */
    35893589        return apply_filters( 'get_canonical_url', $canonical_url, $post );
    35903590}