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