Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-01-26 19:25:42 +00:00
parent 79d411f35a
commit 5cc6e869bf
4 changed files with 885 additions and 37 deletions

View File

@@ -33,7 +33,7 @@ class SitiWebUpdater {
require_once ABSPATH . 'wp-admin/includes/plugin.php';
}
$this->plugin = get_plugin_data( $this->file );
$this->plugin = get_plugin_data( $this->file, false, false );
$this->basename = plugin_basename( $this->file );
$this->active = is_plugin_active( $this->basename );
}