@@ -48,7 +48,8 @@ discard block |
||
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | private function translate_settings( $settings ) { |
| 51 | - if ( $settings ) { //workaround for W3 total cache conflict |
|
| 51 | + if ( $settings ) { |
|
| 52 | +//workaround for W3 total cache conflict |
|
| 52 | 53 | return unserialize(serialize($settings)); |
| 53 | 54 | } |
| 54 | 55 | |
@@ -59,7 +60,8 @@ discard block |
||
| 59 | 60 | } |
| 60 | 61 | |
| 61 | 62 | // If unserializing didn't work |
| 62 | - if ( $settings ) { //workaround for W3 total cache conflict |
|
| 63 | + if ( $settings ) { |
|
| 64 | +//workaround for W3 total cache conflict |
|
| 63 | 65 | $settings = unserialize(serialize($settings)); |
| 64 | 66 | } else { |
| 65 | 67 | $settings = $this; |
@@ -1082,7 +1082,8 @@ |
||
| 1082 | 1082 | private static function maybe_get_form_to_show( $id ) { |
| 1083 | 1083 | $form = false; |
| 1084 | 1084 | |
| 1085 | - if ( ! empty( $id ) ) { // no form id or key set |
|
| 1085 | + if ( ! empty( $id ) ) { |
|
| 1086 | +// no form id or key set |
|
| 1086 | 1087 | $form = FrmForm::getOne( $id ); |
| 1087 | 1088 | if ( ! $form || $form->parent_form_id || $form->status == 'trash' ) { |
| 1088 | 1089 | $form = false; |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | * @since 2.02.12 |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | -class FrmShortcodeHelper{ |
|
| 6 | +class FrmShortcodeHelper { |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Get the shortcode attributes in key/value pairs from a string |