From 223eb21b4722437ece4ebdb5c729c4b07ebb4992 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 17 Dec 2018 03:20:29 +0000 Subject: [PATCH] PHPCS: Fix errors introduced in [44241]. See #45283. Built from https://develop.svn.wordpress.org/trunk@44243 git-svn-id: http://core.svn.wordpress.org/trunk@44073 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/post.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index f76f16e625..7b07e1dc3f 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -2339,8 +2339,8 @@ function the_block_editor_meta_box_post_form_hidden_fields( $post ) { $classic_elements = wp_html_split( $classic_output ); $hidden_inputs = ''; - foreach( $classic_elements as $element ) { - if ( 0 !== strpos( $element, '