From 34ed4c44f556fc5b920e023343fb0a4ee64285ec Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 28 Jun 2014 03:29:10 +0000 Subject: [PATCH] Fix typo in a comment. props JustinSainton. see #20496. git-svn-id: https://develop.svn.wordpress.org/trunk@28878 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/canonical.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/canonical.php b/src/wp-includes/canonical.php index bcc9d4077d..9365987651 100644 --- a/src/wp-includes/canonical.php +++ b/src/wp-includes/canonical.php @@ -40,7 +40,7 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) { global $wp_rewrite, $is_IIS, $wp_query, $wpdb; // If we're not in wp-admin and the post has been published and preview nonce - // is non-existant or invalid then no need for preview in query + // is non-existent or invalid then no need for preview in query if ( is_preview() && get_query_var( 'p' ) && 'publish' == get_post_status( get_query_var( 'p' ) ) ) { if ( ! isset( $_GET['preview_id'] ) || ! isset( $_GET['preview_nonce'] )