Fix SonarQube code quality issues to improve rating from B to A
This commit is contained in:
@@ -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