From 98e9bbdc19bfc48ba20a395cfa2b6ff34606b1a9 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Fri, 9 Nov 2018 08:33:46 +0000 Subject: [PATCH] Block Editor: Prevent the meta box form from being accidentally submitted. Meta boxes are loaded inside a wrapper form, that the block editor submits as part of the saving process. It shouldn't be submitted manually. See #45284. Built from https://develop.svn.wordpress.org/branches/5.0@43880 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43709 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/post.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 462bde55c3..a834c1414d 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -2065,7 +2065,7 @@ function the_block_editor_meta_boxes() { -
+