Skip to content

Commit

Permalink
resolve PHP coding standards errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rishishah-multidots committed Aug 23, 2024
1 parent 84733c5 commit 2d5d162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.6/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}
Expand Down

0 comments on commit 2d5d162

Please sign in to comment.