diff --git tests/phpunit/tests/wp/sendHeaders.php tests/phpunit/tests/wp/sendHeaders.php
index b5fc56bf20..928aa6a85d 100644
--- tests/phpunit/tests/wp/sendHeaders.php
+++ tests/phpunit/tests/wp/sendHeaders.php
@@ -35,4 +35,21 @@ class Tests_WP_SendHeaders extends WP_UnitTestCase {
 		$post_id = self::factory()->post->create();
 		$this->go_to( get_permalink( $post_id ) );
 	}
+
+	/**
+	 * @ticket 61711
+	 */
+	public function test_send_headers_sets_cache_control_header_for_password_protected_posts() {
+		add_action(
+			'wp_headers',
+			function ( $headers ) {
+				$this->assertArrayHasKey( 'Cache-Control', $headers );
+			}
+		);
+
+		$post_id = self::factory()->post->create();
+		add_filter( 'post_password_required', '__return_true' );
+		$this->go_to( get_permalink( $post_id ) );
+		remove_filter( 'post_password_required', '__return_true' );
+	}
 }
