PluginProbe
YayMail – WooCommerce Email Customizer / 4.4.7
YayMail – WooCommerce Email Customizer v4.4.7
4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 All 58 releases
← All changes | src/Migrations/AbstractAddonMigrationManager.php +2 -1 4.4.1 → 4.4.7 View file →
@@ -1,8 +1,9 @@
1 1 <?php
2 2 namespace YayMail\Migrations;
3 3
4 4 use YayMail\Utils\Logger;
5 +use YayMail\Utils\SafeUnserializer;
5 6 use YayMail\SupportedPlugins;
6 7 use YayMail\YayMailTemplate;
7 8
8 9
@@ -151,9 +152,9 @@
151 152 }
152 153
153 154 // If the option is found
154 155 if ( $yaymail_addon_versions_option ) {
155 - $versions = maybe_unserialize( $yaymail_addon_versions_option->option_value );
156 + $versions = SafeUnserializer::decode_backup( $yaymail_addon_versions_option->option_value );
156 157
157 158 // If the unserialized value is an array
158 159 if ( is_array( $versions ) ) {
159 160 // Add or update the addon version