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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user