PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.4.5
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.4.5
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
← All changes | weforms.php +5 -7 1.6.221.4.5 View file →
@@ -4,9 +4,9 @@
4 4 * Description: The best contact form plugin for WordPress
5 5 * Plugin URI: https://weformspro.com/
6 6 * Author: weForms
7 7 * Author URI: https://weformspro.com/
8 - * Version: 1.6.22
8 + * Version: 1.4.5
9 9 * License: GPL2 or later
10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
11 11 * Text Domain: weforms
12 12 * Domain Path: /languages
@@ -54,9 +54,9 @@
54 54 * Plugin version
55 55 *
56 56 * @var string
57 57 */
58 - public $version = '1.6.22';
58 + public $version = '1.4.5';
59 59
60 60 /**
61 61 * Form field value seperator
62 62 *
@@ -98,8 +98,10 @@
98 98 register_deactivation_hook( __FILE__, [ $this, 'deactivate' ] );
99 99
100 100 add_action( 'admin_init', [ $this, 'plugin_upgrades' ] );
101 101 add_action( 'plugins_loaded', [ $this, 'init_plugin' ] );
102 +
103 + $this->init_appsero();
102 104 }
103 105
104 106 /**
105 107 * Magic getter to bypass referencing plugin.
@@ -136,9 +138,8 @@
136 138 public static function init() {
137 139 static $instance = false;
138 140
139 141 if ( !$instance ) {
140 - self::log();
141 142 $instance = new WeForms();
142 143 }
143 144
144 145 return $instance;
@@ -367,16 +368,13 @@
367 368 * @param string $msg
368 369 */
369 370 public static function log( $type = '', $msg = '' ) {
370 371
371 - if(file_exists(WP_CONTENT_DIR . '/weforms.log')){
372 - unlink(WP_CONTENT_DIR . '/weforms.log');
373 - }
374 - return;
375 372 // default we are turning the debug mood on, but can be turned off
376 373 if ( defined( 'WEFORMS_DEBUG_LOG' ) && false === WEFORMS_DEBUG_LOG ) {
377 374 return;
378 375 }
376 +
379 377 $msg = sprintf( "[%s][%s] %s\n", date( 'd.m.Y h:i:s' ), $type, $msg );
380 378 @error_log( $msg, 3, weforms_log_file_path() );
381 379 }
382 380