Fix SonarQube code quality issues to improve rating from B to A

This commit is contained in:
2025-04-20 04:54:13 +01:00
parent cdd9b050c7
commit 04cdd49a3f
4 changed files with 33 additions and 176 deletions

View File

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