| @@ -29,12 +29,8 @@ | ||
| 29 | 29 | * @param boolean $network_activation If a network wide activation. (multisite) |
| 30 | 30 | * @return void |
| 31 | 31 | */ |
| 32 | 32 | public function redirect_activation( $plugin, $network_activation ) { |
| 33 | - if ( defined( 'WP_CLI' ) && WP_CLI ) { | |
| 34 | - return; | |
| 35 | - } | |
| 36 | - | |
| 37 | 33 | if ( $plugin == $this->plugin->basename ) { |
| 38 | 34 | |
| 39 | 35 | // In case of multisite, we want to redirect the user to a different page. |
| 40 | 36 | if ( $network_activation ) { |
| @@ -252,9 +248,9 @@ | ||
| 252 | 248 | * @return void |
| 253 | 249 | */ |
| 254 | 250 | public function migrate_check() { |
| 255 | 251 | // Only perform migrations if we have any to execute. |
| 256 | - $versions = array('3.0.0', '3.0.1'); | |
| 252 | + $versions = array('3.0.0'); | |
| 257 | 253 | if ( count( $versions ) == 0 ) { |
| 258 | 254 | return; |
| 259 | 255 | } |
| 260 | 256 | |