Fix SonarQube code quality issues to improve rating from B to A
This commit is contained in:
1 parent
cdd9b050c7
commit
04cdd49a3f
4 files changed
+33
-176
No files matched your search
@@ -34,5 +34,8 @@ if ( ! defined( 'WPINC' ) ) {
|
||||
// Load the main plugin class.
|
||||
require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin.php';
|
||||
|
||||
// Initialize the plugin and store the instance in a global variable.
|
||||
$wpst_plugin = new WPALLSTARS\PluginStarterTemplate\Plugin( __FILE__, '0.1.10' );
|
||||
|
||||
// Initialize the plugin.
|
||||
new WPALLSTARS\PluginStarterTemplate\Plugin( __FILE__, '0.1.10' );
|
||||
$wpst_plugin->init();
|
||||
Reference in new issue
Block a user