From eccc31aadfc932ddc98de47c0ed982a2777a24a4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 17 Dec 2018 03:17:56 +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. Props pento. Merges [43880] to trunk. Fixes #45284. Built from https://develop.svn.wordpress.org/trunk@44240 git-svn-id: http://core.svn.wordpress.org/trunk@44070 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 48caefa4d9..ced29d4a72 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -2210,7 +2210,7 @@ function the_block_editor_meta_boxes() { -
+