From 4c20251e6d18cdf01b9b2233d61e40b503e7eeb0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 16 Dec 2018 23:03:25 +0000 Subject: [PATCH] PHPCS: Fix errors introduced in [44241]. See #45283. git-svn-id: https://develop.svn.wordpress.org/trunk@44243 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index f76f16e625..7b07e1dc3f 100644 --- a/src/wp-admin/includes/post.php +++ b/src/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, '