module-blog
module-blog copied to clipboard
fix: inversion of var $title and $anchorText
This mistyping lead to display post title instead of anchor text defined in configuration's widget.
Thank you, @mageho , for your contribution. Unfortunately, we cannot merge this change as it will break the content of the existing users.
We can fix this issue by just changing the labels in the widget settings https://prnt.sc/ztzm6b will this be OK?
@magefan
by swapping terms, it would be very confusing for developpers in the future, no ?
Another approach will be to create a phtml template (Magento coding standard advice to exterrnalise html from code). Previous users from this widget can swape variable themself.