PluginProbe
WP Coder – Insert & Manage Code Snippets / 3.0.4
WP Coder – Insert & Manage Code Snippets v3.0.4
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 | wp-coder.php +6 -3 3.0.53.0.4 View file →
@@ -2,9 +2,9 @@
2 2 /**
3 3 * Plugin Name: WP Coder
4 4 * Plugin URI: https://wordpress.org/plugins/wp-coder/
5 5 * Description: Adding custom HTML, CSS, and JavaScript code to your WordPress site.
6 - * Version: 3.0.5
6 + * Version: 3.0.4
7 7 * Author: Wow-Company
8 8 * Author URI: https://wow-estore.com/
9 9 * License: GPL-2.0+
10 10 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -30,9 +30,9 @@
30 30 // Plugin name
31 31 public const NAME = 'WP Coder';
32 32
33 33 // Plugin version
34 - public const VERSION = '3.0.5';
34 + public const VERSION = '3.0.4';
35 35
36 36 // Plugin slug
37 37 public const SLUG = 'wp-coder';
38 38
@@ -66,8 +66,9 @@
66 66 self::$instance->public = new WOWP_Public();
67 67
68 68 register_activation_hook( __FILE__, [ self::$instance, 'plugin_activate' ] );
69 69 add_action( 'plugins_loaded', [ self::$instance, 'loaded' ] );
70 + add_action( 'admin_init', [ self::$instance, 'update'] );
70 71 }
71 72
72 73
73 74 return self::$instance;
@@ -161,13 +162,15 @@
161 162 * @access Publisher
162 163 * @return void
163 164 */
164 165 public function loaded(): void {
165 - UpdateDB::init();
166 166 $languages_folder = dirname( plugin_basename( __FILE__ ) ) . '/languages/';
167 167 load_plugin_textdomain( 'wpcoder', false, $languages_folder );
168 168 }
169 169
170 + public function update(): void {
171 + UpdateDB::init();
172 + }
170 173 }
171 174
172 175 endif;
173 176