@@ -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; |