| @@ -33,9 +33,9 @@ | ||
| 33 | 33 | * @var Freemius |
| 34 | 34 | */ |
| 35 | 35 | private $licence; |
| 36 | 36 | |
| 37 | - const VERSION = '2.1.2'; | |
| 37 | + const VERSION = '2.2.2'; | |
| 38 | 38 | |
| 39 | 39 | const DB_VERSION = '2.0'; |
| 40 | 40 | |
| 41 | 41 | /** |
| @@ -53,9 +53,8 @@ | ||
| 53 | 53 | add_action( 'admin_init', [ $this, 'checkRequirePlugins' ] ); |
| 54 | 54 | |
| 55 | 55 | add_filter( 'plugin_action_links_' . plugin_basename( $this->fileManager->getMainFile() ), |
| 56 | 56 | [ $this, 'addPluginAction' ], 10, 4 ); |
| 57 | - | |
| 58 | 57 | } |
| 59 | 58 | |
| 60 | 59 | /** |
| 61 | 60 | * Add setting to plugin actions at plugins list |
| @@ -87,9 +86,8 @@ | ||
| 87 | 86 | |
| 88 | 87 | if ( $valid && ! $updater->checkForUpdates() ) { |
| 89 | 88 | |
| 90 | 89 | if ( is_admin() ) { |
| 91 | - | |
| 92 | 90 | new Admin( $this->fileManager, $this->licence, $this->settings ); |
| 93 | 91 | } else { |
| 94 | 92 | new Frontend( $this->fileManager, $this->licence, $this->settings ); |
| 95 | 93 | } |
| @@ -168,8 +166,9 @@ | ||
| 168 | 166 | delete_option( Settings::SETTINGS_PREFIX . 'tiered_price_at_catalog_type' ); |
| 169 | 167 | delete_option( Settings::SETTINGS_PREFIX . 'lowest_prefix' ); |
| 170 | 168 | delete_option( Settings::SETTINGS_PREFIX . 'head_discount_text' ); |
| 171 | 169 | delete_option( Settings::SETTINGS_PREFIX . 'clickable_table_rows' ); |
| 170 | + delete_option( Settings::SETTINGS_PREFIX . 'show_total_price' ); | |
| 172 | 171 | |
| 173 | 172 | delete_option( Updater::DB_OPTION ); |
| 174 | 173 | } |
| 175 | 174 | |