PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.4.8
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.4.8
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 +3 -7 1.6.71.4.8 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.7
8 + * Version: 1.4.8
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.7';
58 + public $version = '1.4.8';
59 59
60 60 /**
61 61 * Form field value seperator
62 62 *
@@ -138,9 +138,8 @@
138 138 public static function init() {
139 139 static $instance = false;
140 140
141 141 if ( !$instance ) {
142 - self::log();
143 142 $instance = new WeForms();
144 143 }
145 144
146 145 return $instance;
@@ -369,16 +368,13 @@
369 368 * @param string $msg
370 369 */
371 370 public static function log( $type = '', $msg = '' ) {
372 371
373 - if(file_exists(WP_CONTENT_DIR . '/weforms.log')){
374 - unlink(WP_CONTENT_DIR . '/weforms.log');
375 - }
376 - return;
377 372 // default we are turning the debug mood on, but can be turned off
378 373 if ( defined( 'WEFORMS_DEBUG_LOG' ) && false === WEFORMS_DEBUG_LOG ) {
379 374 return;
380 375 }
376 +
381 377 $msg = sprintf( "[%s][%s] %s\n", date( 'd.m.Y h:i:s' ), $type, $msg );
382 378 @error_log( $msg, 3, weforms_log_file_path() );
383 379 }
384 380