diff --git a/lib/compat/wordpress-6.6/rest-api.php b/lib/compat/wordpress-6.6/rest-api.php index b7773d205b2fe..f067deba6b012 100644 --- a/lib/compat/wordpress-6.6/rest-api.php +++ b/lib/compat/wordpress-6.6/rest-api.php @@ -161,7 +161,7 @@ function gutenberg_register_wp_rest_themes_template_directory_uri_field() { if ( ! function_exists( 'update_comment_meta_from_rest_request' ) ) { function update_comment_meta_from_rest_request( $response, $comment, $request ) { if ( isset( $request['meta'] ) && is_array( $request['meta'] ) ) { - foreach ( $request['meta'] as $key => $value ) { + foreach ( $request['meta'] as $key => $value ) { //phpcs:ignore update_comment_meta( $comment->comment_ID, 'block_comment', $value ); } }