Make WordPress Core

Ticket #42313: 42313.5.diff

File 42313.5.diff, 1.2 KB (added by pratikkry, 7 years ago)

@since updated to 5.0.3

  • src/wp-includes/pluggable.php

     
    11931193         *     }
    11941194         *
    11951195         * @since 1.5.1
    1196          * @since 5.0.0 The `$x_redirect_by` parameter was added.
     1196         * @since 5.0.3 The `$x_redirect_by` parameter was added.
    11971197         *
    11981198         * @global bool $is_IIS
    11991199         *
     
    12401240                 *
    12411241                 * Allows applications to identify themselves when they're doing a redirect.
    12421242                 *
    1243                  * @since 5.0.0
     1243                 * @since 5.0.3
    12441244                 *
    12451245                 * @param string $x_redirect_by The application doing the redirect.
    12461246                 * @param int    $status        Status code to use.
     
    13311331         *     }
    13321332         *
    13331333         * @since 2.3.0
    1334          * @since 5.0.0 The return value from wp_redirect() is now passed on, and the `$x_redirect_by` parameter was added.
     1334         * @since 5.0.3 The return value from wp_redirect() is now passed on, and the `$x_redirect_by` parameter was added.
    13351335         *
    13361336         * @param string $location      The path or URL to redirect to.
    13371337         * @param int    $status        Optional. HTTP response status code to use. Default '302' (Moved Temporarily).