| @@ -79,8 +79,18 @@ | ||
| 79 | 79 | |
| 80 | 80 | if ( $version < 129 ) { |
| 81 | 81 | Setting::set_setting( 'auto_upgrade_eligible_links', true ); |
| 82 | 82 | } |
| 83 | + | |
| 84 | + if ( $version < 152 && (int) LASSO_LITE_VERSION >= 152 ) { | |
| 85 | + ( new Url_Details() )->update_for_v152(); | |
| 86 | + ( new Revert() )->update_for_v152(); | |
| 87 | + } | |
| 88 | + | |
| 89 | + // Beacon /js/e rewrite is registered in new code; upgrader runs the old callback. | |
| 90 | + if ( $version < 154 && (int) LASSO_LITE_VERSION >= 154 ) { | |
| 91 | + Helper::update_option( 'pending_vanity_rewrite_flush', '1' ); | |
| 92 | + } | |
| 83 | 93 | } |
| 84 | 94 | |
| 85 | 95 | /** |
| 86 | 96 | * Update rating and reviews data from AAWP product table to Lasso amazon table, so we can support aawp fields shortcode |