Make WordPress Core

Changeset 55069


Ignore:
Timestamp:
01/15/2023 12:59:52 AM (3 years ago)
Author:
johnbillion
Message:

HTTP API: Correct the name of a filter referenced in the docs for wp_redirect() and wp_safe_redirect().

Props pbiron, audrasjb, SergeyBiryukov

Fixes #57464

File:
1 edited

Legend:

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

    r55057 r55069  
    13491349     *
    13501350     * Exiting can also be selectively manipulated by using wp_redirect() as a conditional
    1351      * in conjunction with the {@see 'wp_redirect'} and {@see 'wp_redirect_location'} filters:
     1351     * in conjunction with the {@see 'wp_redirect'} and {@see 'wp_redirect_status'} filters:
    13521352     *
    13531353     *     if ( wp_redirect( $url ) ) {
     
    14951495     *
    14961496     * Exiting can also be selectively manipulated by using wp_safe_redirect() as a conditional
    1497      * in conjunction with the {@see 'wp_redirect'} and {@see 'wp_redirect_location'} filters:
     1497     * in conjunction with the {@see 'wp_redirect'} and {@see 'wp_redirect_status'} filters:
    14981498     *
    14991499     *     if ( wp_safe_redirect( $url ) ) {
Note: See TracChangeset for help on using the changeset viewer.