@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -class FrmSettings{ |
|
3 | +class FrmSettings { |
|
4 | 4 | public $option_name = 'frm_options'; |
5 | 5 | public $menu; |
6 | 6 | public $mu_menu; |
@@ -47,7 +47,8 @@ discard block |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | private function translate_settings( $settings ) { |
50 | - if ( $settings ) { //workaround for W3 total cache conflict |
|
50 | + if ( $settings ) { |
|
51 | +//workaround for W3 total cache conflict |
|
51 | 52 | return unserialize(serialize($settings)); |
52 | 53 | } |
53 | 54 | |
@@ -58,7 +59,8 @@ discard block |
||
58 | 59 | } |
59 | 60 | |
60 | 61 | // If unserializing didn't work |
61 | - if ( $settings ) { //workaround for W3 total cache conflict |
|
62 | + if ( $settings ) { |
|
63 | +//workaround for W3 total cache conflict |
|
62 | 64 | $settings = unserialize(serialize($settings)); |
63 | 65 | } else { |
64 | 66 | $settings = $this; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -class FrmCSVExportHelper{ |
|
3 | +class FrmCSVExportHelper { |
|
4 | 4 | protected static $separator = ', '; |
5 | 5 | protected static $column_separator = ','; |
6 | 6 | protected static $line_break = 'return'; |
@@ -107,7 +107,7 @@ |
||
107 | 107 | * @param int $duplicate_entry_time |
108 | 108 | * @return bool |
109 | 109 | */ |
110 | - private static function is_duplicate_check_needed( $new_values, $values, &$duplicate_entry_time ){ |
|
110 | + private static function is_duplicate_check_needed( $new_values, $values, &$duplicate_entry_time ) { |
|
111 | 111 | // If CSV is importing, don't check for duplicates |
112 | 112 | if ( defined('WP_IMPORTING') && WP_IMPORTING ) { |
113 | 113 | return false; |