diff --git a/src/BlockTypes/MiniCart.php b/src/BlockTypes/MiniCart.php index ea674438ff5..88e6c81ffab 100644 --- a/src/BlockTypes/MiniCart.php +++ b/src/BlockTypes/MiniCart.php @@ -181,14 +181,12 @@ protected function enqueue_data( array $attributes = [] ) { ); } - $template_part_edit_uri = esc_url( - add_query_arg( - array( - 'postId' => sprintf( '%s//%s', $theme_slug, 'mini-cart' ), - 'postType' => 'wp_template_part', - ), - $site_editor_uri - ) + $template_part_edit_uri = add_query_arg( + array( + 'postId' => sprintf( '%s//%s', $theme_slug, 'mini-cart' ), + 'postType' => 'wp_template_part', + ), + $site_editor_uri ); }