Skip to content

escapeUrl is deprecated?

Can someone help & explain to me what does escapeUrl is deprecated mean? What I need to do for the changes?

thanks

<?= /* @escapeNotVerified */ $item->getQtyOrdered() ?> x <a href="<?= $block->escapeUrl($productUrl) ?>"><?= /* @escapeNotVerified */ $block->getProductName($item->getProductId()) ?></a>