PluginProbe
WP Coder – Insert & Manage Code Snippets / 3.1.1
WP Coder – Insert & Manage Code Snippets v3.1.1
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
← All changes | classes/Update/UpdateDB.php +2 -2 3.23.1.1 View file →
@@ -11,9 +11,9 @@
11 11
12 12 public static function init(): void {
13 13 $current_db_version = get_option( WPCoder::PREFIX . '_db_version' );
14 14
15 - if ( $current_db_version && version_compare( $current_db_version, '3.2', '>=' ) ) {
15 + if ( $current_db_version && version_compare( $current_db_version, '3.1', '>=' ) ) {
16 16 return;
17 17 }
18 18
19 19 self::updateDB();
@@ -18,9 +18,9 @@
18 18
19 19 self::updateDB();
20 20 self::updateDBFields();
21 21
22 - update_option( WPCoder::PREFIX . '_db_version', '3.2' );
22 + update_option( WPCoder::PREFIX . '_db_version', '3.1' );
23 23 }
24 24
25 25 private static function updateDB(): void {
26 26 global $wpdb;