From 1ea7a1bcf1ebb67720a1ba712ca5f8fcd3c59ede Mon Sep 17 00:00:00 2001 From: Alec Geatches Date: Wed, 21 Feb 2024 15:17:28 -0700 Subject: [PATCH] Condense comments --- preview/preview.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/preview/preview.php b/preview/preview.php index 2772125e..36fd28a1 100644 --- a/preview/preview.php +++ b/preview/preview.php @@ -49,10 +49,7 @@ function redirect_to_preview() { wp_safe_redirect( $preview_url, 302 ); exit; } else { - // If the URL was modified by the above filter, use wp_redirect to allow previewing on another domain. - - // Allow cross-domain redirects if the filter is used. - // phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect + // phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect -- Allow cross-domain redirects if the filter is used. wp_redirect( $preview_url, 302 ); exit; }