# Changelog Change log for FishPig_WordPress_RelatedProducts. ## [3.4.5] - 2023-09-22 ### [Fixed] - Fixed an issue where the shortcode was auto added to the post_content and it ended up in the meta description tag. This removes the shortcode from this tag before it is rendered. ## [3.4.4] - 2023-07-21 ### [Fixed] - Fixed issue where shortcode was not rendered due to shortcode being hidden behind a WP placeholder tag. ## [3.4.3] - 2023-06-13 ### [Fixed] - Fixed issue when product or category names contain a single quote. This breaks the JSON string in WordPress and stops the links from showing. This is fixed, so quotes can still be used but are now rendered properly. ## [3.4.2] - 2023-06-08 ### [Changed] - Changed AssetProvider to use canProvideAssets method. ## [3.4.0] - 2023-03-22 ### [Added] - Added PHP 8.2 support. ## [3.3.1] - 2023-02-28 ### [Changed] - Changed 'Auto Include' config option in WP to a dropdown. ### [Fixed] - Fixed issue where disabling Auto Include required re-saving post to have this take effect for each post. ## [3.3.0] - 2022-11-15 - Renamed Test folder to Tests so that classes are added to the optimised Composer autoloader. ## [3.2.0] - 2022-07-19 ### [Changed] - Renamed wptheme files to *.php.sample ## [3.1.7] - 2022-07-15 ### [Fixed] - Attempt to fix a Composer package issue. ## [3.1.6] - 2022-07-11 ### [Fixed] - 'Unable to parse API response' error when search term not found in Magento. ## [3.1.5] - 2022-06-08 ### [Fixed] - Strict type PHP 8 error. ## [3.1.4] - 2022-05-16 ### [Removed] - Removed legacy file. ## [3.1.3] - 2022-02-22 ### [Fixed] - Fixed issue where the related product shortcode could get added to a post content field twice. ## [3.1.2] - 2022-01-23 ### [Fixed] - Auto shortcode inclusion when not using PSW. ## [3.1.1] - 2022-01-19 ### [Changed] - Convert shortcode to use ListProduct block from core module. ## [3.1.0] - 2022-01-06 ### [Added] - Error detection when Magento API request fails. Error is now displayed to user. ### [Fixed] - HTML floating/clearing error on post edit view in WordPress Admin. ## [3.0.7] - 2022-01-04 ### [Fixed] - Removed trailing comma from method arguments. This broke some PHP <=7.2.* ## [3.0.5] - 2021-12-23 ### [Changed] - Changed \Magento\Framework\Filesystem\DriverInterface to \Magento\Framework\Filesystem and get individual directories from there. ## [3.0.4] - 2021-12-22 ### [Changed] - Code formatting cleanup ## [3.0.3] - 2021-12-16 ### [Changed] - Legacy class references to new versions. ## [3.0.0] - 2021-12-15 A new major version to support the changes in fishpig/magento2-wordpress-integration (FishPig_WordPress) ----- Legacy Change Log Below ------- 11/09/2021 - 2.0.23.2 - Added swatches to related products. 02/09/2021 - 2.0.21.1 - Fixed fatal PHP error with the product list template (setIsBottom & getOptionData). 01/09/2021 - 2.0.21.0 - Added support for latest version of fishpig/magento2-wordpress-integration 14/01/2020 - 2.0.11.4 - Fixed issue with removing final related product or category that stopped it from being removed. 14/01/2020 - 2.0.10.5 - Removed manual retrieval of Magento base URL and now uses built in FishPig theme URL retrieval system. 31/01/2020 - 2.0.10.0 - Added option to relate posts to Magento categories. 16/12/2019 - 2.0.9.1 - Added optimisation when not using Shortcodes & Widgets 15/11/2019 - 2.0.7.5 - Updated SearchInterface API to fix issue in Swagger 29/09/2019 - 2.0.6.34 - Fixed bug in JS in WordPress that stopped products that used a " in the name from displaying. 24/09/2019 - 2.0.6.33 - Added template to RelatedProducts wrapper block. This includes a title and allows you to edit the wrapping markup. 24/08/2019 - 2.0.6.22 - Removed H2 from related posts phtml file. 09/07/2019 - 2.0.6.7 - Fixed bug that could break other plugins on Post model. 22/03/2019 - 2.0.6.0 - Modified module to use the auto set Magento base URL and removed this from the plugin options. 15/02/2019 - 2.0.5.7 - Multiple bug fixes 28/01/2019 - 1.0.0.3 - Fixed compilation issue 28/01/2019 - 1.0.0.2 - Fixed issue with Magento API URL. 25/01/2019 - 1.0.0.1 - Added system config option that displays module version for debugging. 17/01/2019 - 1.0.0.0 - First stable release. Requires FishPig_WordPress 2.0.5.0 or above