mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-21 00:02:44 +00:00
Docs: Align spelling with American English.
This changeset replaces "cancelled" with "canceled" in various docblocks, per the [https://make.wordpress.org/core/handbook/best-practices/spelling/ Spelling Guidelines]. Props costdev. See #56811, #56792. git-svn-id: https://develop.svn.wordpress.org/trunk@54664 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3adb24ff8c
commit
55d26534df
@ -1361,7 +1361,7 @@ if ( ! function_exists( 'wp_redirect' ) ) :
|
||||
* @param string $location The path or URL to redirect to.
|
||||
* @param int $status Optional. HTTP response status code to use. Default '302' (Moved Temporarily).
|
||||
* @param string $x_redirect_by Optional. The application doing the redirect. Default 'WordPress'.
|
||||
* @return bool False if the redirect was cancelled, true otherwise.
|
||||
* @return bool False if the redirect was canceled, true otherwise.
|
||||
*/
|
||||
function wp_redirect( $location, $status = 302, $x_redirect_by = 'WordPress' ) {
|
||||
global $is_IIS;
|
||||
@ -1504,7 +1504,7 @@ if ( ! function_exists( 'wp_safe_redirect' ) ) :
|
||||
* @param string $location The path or URL to redirect to.
|
||||
* @param int $status Optional. HTTP response status code to use. Default '302' (Moved Temporarily).
|
||||
* @param string $x_redirect_by Optional. The application doing the redirect. Default 'WordPress'.
|
||||
* @return bool False if the redirect was cancelled, true otherwise.
|
||||
* @return bool False if the redirect was canceled, true otherwise.
|
||||
*/
|
||||
function wp_safe_redirect( $location, $status = 302, $x_redirect_by = 'WordPress' ) {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user