PluginProbe
Patchstack – WordPress & Plugins Security / 2.1.0
Patchstack – WordPress & Plugins Security v2.1.0
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
patchstack / includes / migrations / v220.php

v220.php in Patchstack – WordPress & Plugins Security 2.1.0, at includes/migrations/v220.php

13 lines 483 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Upgrade to the new Patchstack plugin.
4 update_option('webarx_db_version', '2.2.0');
5
6 include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
7 include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
8 $upgrader = new Plugin_Upgrader( new W_Skin() );
9 $upgrader->install('https://update.webarxsecurity.com/wp-update-server-clone/?action=download&slug=patchstack', array(
10 'overwrite_package' => true
11 ));
12 activate_plugin('patchstack/patchstack.php');
13