PHPCS: Fix errors introduced in [44241].
See #45283. git-svn-id: https://develop.svn.wordpress.org/trunk@44243 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7dc55e9fbf
commit
4c20251e6d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user