Index: wp-admin/includes/post.php
===================================================================
--- wp-admin/includes/post.php	(revision 1)
+++ wp-admin/includes/post.php	(working copy)
@@ -2303,7 +2303,7 @@
 	<?php the_block_editor_meta_box_post_form_hidden_fields( $post ); ?>
 	</form>
 	<form id="toggle-custom-fields-form" method="post" action="<?php echo esc_attr( admin_url( 'post.php' ) ); ?>">
-		<?php wp_nonce_field( 'toggle-custom-fields'); ?>
+		<?php wp_nonce_field( 'toggle-custom-fields', 'toggle-custom-fields-nonce'); ?>
 		<input type="hidden" name="action" value="toggle-custom-fields" />
 	</form>
 	<?php foreach ( $locations as $location ) : ?>
@@ -2421,7 +2421,7 @@
 	$referer      = wp_get_referer();
 	$current_user = wp_get_current_user();
 	$user_id      = $current_user->ID;
-	wp_nonce_field( $nonce_action);
+	wp_nonce_field( $nonce_action, $nonce_action."-nonce");
 
 	/*
 	 * Some meta boxes hook into these actions to add hidden input fields in the classic post form. For backwards
