refactor: extract DB-migration methods to class-db-migrations.php
Split class-prautoblogger.php (407 lines) into: - class-prautoblogger.php: 258 lines (orchestrator, thin proxy for migrations) - class-db-migrations.php: 129 lines (static DB migration methods, byte-identical move) ARCHITECTURE.md file tree updated to reflect the split. Loaded via explicit require_once in prautoblogger.php due to autoloader filename collision (DB -> d-b in kebab conversion). Agent-Session: claude-sonnet-4-6
This commit is contained in:
@@ -107,6 +107,7 @@ PRAutoBlogger_Autoloader::register();
|
||||
// The main orchestrator class is loaded explicitly because its CamelCase name
|
||||
// (PRAutoBlogger) doesn't map cleanly to a filename via the autoloader's
|
||||
// kebab-case convention (it would look for class-pr-auto-blogger.php).
|
||||
require_once PRAUTOBLOGGER_PLUGIN_DIR . 'includes/class-db-migrations.php'; // Loaded explicitly: DB_Migrations -> class-d-b-migrations.php via autoloader
|
||||
require_once PRAUTOBLOGGER_PLUGIN_DIR . 'includes/class-prautoblogger.php';
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user