diff --git a/classic-editor.php b/classic-editor.php index 293d362..90a19a8 100644 --- a/classic-editor.php +++ b/classic-editor.php @@ -323,7 +323,11 @@ private static function is_classic( $post_id = 0 ) { } } - if ( isset( $_GET['classic-editor'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended + if ( isset( $_GET['classic-editor'] ) ) { + // The 'classic-editor' GET parameter is used only to determine editor preference. + // No data is stored or modified here, so nonce verification is not required. + // phpcs:ignore WordPress.Security.NonceVerification.Recommended + return true; }