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
This commit is contained in:
Sergey Biryukov
2018-12-17 03:20:29 +00:00
parent 659ca2bd1e
commit 223eb21b47
2 changed files with 3 additions and 3 deletions

View File

@@ -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, '<input ') ) {
foreach ( $classic_elements as $element ) {
if ( 0 !== strpos( $element, '<input ' ) ) {
continue;
}