PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 2.2.13
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v2.2.13
3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 All 111 releases
← All changes | includes/Core/Migrator.php +3 -3 3.0.32.2.13 View file →
@@ -24,9 +24,9 @@
24 24
25 25 /**
26 26 * Migration for v1.3.6 to v2.0.1
27 27 */
28 - if( \version_compare(TEMPLATELY_VERSION, '2.0.1', '=') && \version_compare($_old_version, '1.3.6', '=') ) {
28 + if( \version_compare(TEMPLATELY_VERSION, '2.0.1', '=') && \version_compare($_old_version, '1.3.6', '=') ) {
29 29 $user_choice = $this->options->get_option('_templately_user_login_choice');
30 30 $user_id = false;
31 31 if( ! empty( $user_choice ) && isset($user_choice['choice']) ) {
32 32 $user_id = intval($user_choice['id']);
@@ -58,14 +58,14 @@
58 58
59 59 $this->options->set('user', $user_profile, $user_id );
60 60 $this->options->set('favourites', $_favourites, $user_id );
61 61 }
62 - }
62 + }
63 63
64 64 /**
65 65 * Migration for v2.2.10 to v2.2.11
66 66 */
67 - if( TEMPLATELY_VERSION !== $_old_version && \version_compare($_old_version, '2.2.10', '<=') ) {
67 + if( TEMPLATELY_VERSION !== $_old_version && \version_compare($_old_version, '2.2.10', '<=') ) {
68 68 Profile::get_instance()->sync();
69 69 }
70 70
71 71 $this->options->update_option( '_templately_migrate', TEMPLATELY_VERSION );