Skip to content

Commit 0def6c2

Browse files
committed
[FIX] Revert usage of deprecate marked classes in layout
1 parent a168c95 commit 0def6c2

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

app/code/Magento/Wishlist/view/frontend/layout/wishlist_index_index.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<block class="Magento\Wishlist\Block\Rss\Link" name="wishlist.rss.link" template="Magento_Wishlist::rss/wishlist.phtml"/>
1818
<block class="Magento\Wishlist\Block\Customer\Wishlist\Items" name="customer.wishlist.items" as="items" template="Magento_Wishlist::item/list.phtml" cacheable="false">
1919
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Image" name="customer.wishlist.item.image" template="Magento_Wishlist::item/column/image.phtml" cacheable="false"/>
20-
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column" name="customer.wishlist.item.name" template="Magento_Wishlist::item/column/name.phtml" cacheable="false"/>
20+
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Info" name="customer.wishlist.item.name" template="Magento_Wishlist::item/column/name.phtml" cacheable="false"/>
2121
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column" name="customer.wishlist.item.review" template="Magento_Wishlist::item/column/review.phtml" cacheable="false"/>
2222
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Cart" name="customer.wishlist.item.price" template="Magento_Wishlist::item/column/price.phtml" cacheable="false">
2323
<block class="Magento\Catalog\Pricing\Render" name="product.price.render.wishlist">
@@ -30,11 +30,11 @@
3030
</block>
3131
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Options" name="customer.wishlist.item.options" cacheable="false"/>
3232
</block>
33-
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column" name="customer.wishlist.item.inner" template="Magento_Wishlist::item/column/actions.phtml" cacheable="false">
33+
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Actions" name="customer.wishlist.item.inner" template="Magento_Wishlist::item/column/actions.phtml" cacheable="false">
3434
<arguments>
3535
<argument name="css_class" xsi:type="string">product-item-inner</argument>
3636
</arguments>
37-
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column" name="customer.wishlist.item.comment" template="Magento_Wishlist::item/column/comment.phtml" cacheable="false">
37+
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Comment" name="customer.wishlist.item.comment" template="Magento_Wishlist::item/column/comment.phtml" cacheable="false">
3838
<arguments>
3939
<argument name="title" translate="true" xsi:type="string">Product Details and Comment</argument>
4040
</arguments>
@@ -45,12 +45,12 @@
4545
</arguments>
4646
</block>
4747

48-
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column" name="customer.wishlist.item.actions" template="Magento_Wishlist::item/column/actions.phtml" cacheable="false">
48+
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Actions" name="customer.wishlist.item.actions" template="Magento_Wishlist::item/column/actions.phtml" cacheable="false">
4949
<arguments>
5050
<argument name="css_class" xsi:type="string">product-item-actions</argument>
5151
</arguments>
52-
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column" name="customer.wishlist.item.edit" template="Magento_Wishlist::item/column/edit.phtml" before="-" cacheable="false"/>
53-
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column" name="customer.wishlist.item.remove" template="Magento_Wishlist::item/column/remove.phtml" cacheable="false"/>
52+
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Edit" name="customer.wishlist.item.edit" template="Magento_Wishlist::item/column/edit.phtml" before="-" cacheable="false"/>
53+
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Remove" name="customer.wishlist.item.remove" template="Magento_Wishlist::item/column/remove.phtml" cacheable="false"/>
5454
</block>
5555
</block>
5656
</block>

app/code/Magento/Wishlist/view/frontend/templates/item/column/actions.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// @codingStandardsIgnoreFile
88

9-
/** @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column $block */
9+
/** @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Actions $block */
1010
?>
1111
<?php $children = $block->getChildNames(); ?>
1212
<?php if ($children): ?>

app/code/Magento/Wishlist/view/frontend/templates/item/column/comment.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// @codingStandardsIgnoreFile
88

9-
/* @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column $block */
9+
/* @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Comment $block */
1010

1111
/* @var \Magento\Wishlist\Model\Item $item */
1212
$item = $block->getItem();

app/code/Magento/Wishlist/view/frontend/templates/item/column/edit.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// @codingStandardsIgnoreFile
88

9-
/** @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column $block */
9+
/** @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Edit $block */
1010

1111
/** @var \Magento\Wishlist\Model\Item $item */
1212
$item = $block->getItem();

app/code/Magento/Wishlist/view/frontend/templates/item/column/name.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// @codingStandardsIgnoreFile
88

9-
/** @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column $block */
9+
/** @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Info $block */
1010

1111
/** @var \Magento\Wishlist\Model\Item $item */
1212
$item = $block->getItem();

app/code/Magento/Wishlist/view/frontend/templates/item/column/remove.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// @codingStandardsIgnoreFile
88

9-
/* @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column $block */
9+
/* @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Remove $block */
1010
?>
1111

1212
<a href="#" data-role="remove" data-post-remove='<?= /* @noEscape */ $block->getItemRemoveParams($block->getItem()) ?>' title="<?= $block->escapeHtmlAttr(__('Remove Item')) ?>" class="btn-remove action delete">

0 commit comments

Comments
 (0)