|
@@ -18,7 +18,7 @@ discard block |
|
|
block discarded – undo |
|
18
|
18
|
|
|
19
|
19
|
defined( 'WPINC' ) || die; |
|
20
|
20
|
|
|
21
|
|
-if( !class_exists( 'GL_Plugin_Check_v3' )) { |
|
|
21
|
+if( !class_exists( 'GL_Plugin_Check_v3' ) ) { |
|
22
|
22
|
require_once __DIR__.'/activate.php'; |
|
23
|
23
|
} |
|
24
|
24
|
if( !(new GL_Plugin_Check_v3( __FILE__ ))->canProceed() )return; |
|
@@ -28,10 +28,10 @@ discard block |
|
|
block discarded – undo |
|
28
|
28
|
|
|
29
|
29
|
$app = GeminiLabs\Pollux\Application::getInstance(); |
|
30
|
30
|
|
|
31
|
|
-register_activation_hook( __FILE__, array( $app, 'onActivation' )); |
|
32
|
|
-register_deactivation_hook( __FILE__, array( $app, 'onDeactivation' )); |
|
|
31
|
+register_activation_hook( __FILE__, array( $app, 'onActivation' ) ); |
|
|
32
|
+register_deactivation_hook( __FILE__, array( $app, 'onDeactivation' ) ); |
|
33
|
33
|
|
|
34
|
34
|
$app->register( new GeminiLabs\Pollux\Provider ); |
|
35
|
|
-$app->init([ |
|
|
35
|
+$app->init( [ |
|
36
|
36
|
'meta-box/meta-box.php' => 'Meta Box|5.0.1|https://wordpress.org/plugins/meta-box/', |
|
37
|
|
-]); |
|
|
37
|
+] ); |
Please login to merge, or discard this patch.