Make WordPress Core

Ticket #57047: link-template.patch

File link-template.patch, 1.2 KB (added by apermo, 11 months ago)

Patch of the PHPdoc.

  • wp-includes/link-template.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php
    a b  
    23182318         * @since 2.6.0
    23192319         * @since 4.2.0 Added the `$adjacent` parameter.
    23202320         *
    2321          * @param string  $output   The adjacent post link.
    2322          * @param string  $format   Link anchor format.
    2323          * @param string  $link     Link permalink format.
    2324          * @param WP_Post $post     The adjacent post.
    2325          * @param string  $adjacent Whether the post is previous or next.
     2321         * @param string         $output   The adjacent post link.
     2322         * @param string         $format   Link anchor format.
     2323         * @param string         $link     Link permalink format.
     2324         * @param WP_Post|string $post     The adjacent post, or an empty string if there is no adjacent post.
     2325         * @param string         $adjacent Whether the post is previous or next.
    23262326         */
    23272327        return apply_filters( "{$adjacent}_post_link", $output, $format, $link, $post, $adjacent );
    23282328}