wp-includes/post.php:4065Resets the Privacy Policy page ID option when the Privacy Policy page is permanently deleted, to prevent uncached database queries for a non-existent page.
$post_idintfunction _reset_privacy_policy_page_for_post( int $post_id ): void { if ( 'page' === get_post_type( $post_id ) && ( (int) get_option( 'wp_page_for_privacy_policy' ) === $post_id ) ) { update_option( 'wp_page_for_privacy_policy', 0 ); }}Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
src/wp-includes/post.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.