PluginProbe
Patchstack – WordPress & Plugins Security / 2.1.6
Patchstack – WordPress & Plugins Security v2.1.6
2.3.7 trunk 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.2 2.1.20 2.1.21 2.1.22 2.1.23 2.1.24 2.1.25 2.1.3 2.1.4 2.1.5 2.1.6 All 49 releases
← All changes | includes/activation.php +1 -5 2.1.182.1.6 View file →
@@ -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