@@ -1,5 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | -if ( ! defined( 'ABSPATH' ) ) exit; |
|
2 | +if ( ! defined( 'ABSPATH' ) ) { |
|
3 | + exit; |
|
4 | +} |
|
3 | 5 | |
4 | 6 | //Main plugin object to define the plugin |
5 | 7 | if ( ! class_exists( 'CGSS_BUILD' ) ) { |
@@ -83,7 +85,9 @@ discard block |
||
83 | 85 | //Include scripts |
84 | 86 | public function scripts() { |
85 | 87 | |
86 | - if ( class_exists( 'CGSS_SCRIPT' ) ) new CGSS_SCRIPT(); |
|
88 | + if ( class_exists( 'CGSS_SCRIPT' ) ) { |
|
89 | + new CGSS_SCRIPT(); |
|
90 | + } |
|
87 | 91 | } |
88 | 92 | |
89 | 93 | |
@@ -91,7 +95,9 @@ discard block |
||
91 | 95 | //Include settings pages |
92 | 96 | public function settings() { |
93 | 97 | |
94 | - if ( class_exists( 'CGSS_SETTINGS' ) ) new CGSS_SETTINGS(); |
|
98 | + if ( class_exists( 'CGSS_SETTINGS' ) ) { |
|
99 | + new CGSS_SETTINGS(); |
|
100 | + } |
|
95 | 101 | } |
96 | 102 | |
97 | 103 | |
@@ -99,7 +105,9 @@ discard block |
||
99 | 105 | // Add custom insight action |
100 | 106 | public function insight() { |
101 | 107 | |
102 | - if ( class_exists( 'CGSS_INSIGHT' ) ) new CGSS_INSIGHT(); |
|
108 | + if ( class_exists( 'CGSS_INSIGHT' ) ) { |
|
109 | + new CGSS_INSIGHT(); |
|
110 | + } |
|
103 | 111 | } |
104 | 112 | |
105 | 113 | |
@@ -107,7 +115,9 @@ discard block |
||
107 | 115 | // Add custom insight action |
108 | 116 | public function scan() { |
109 | 117 | |
110 | - if ( class_exists( 'CGSS_SCAN' ) ) new CGSS_SCAN(); |
|
118 | + if ( class_exists( 'CGSS_SCAN' ) ) { |
|
119 | + new CGSS_SCAN(); |
|
120 | + } |
|
111 | 121 | } |
112 | 122 | |
113 | 123 |