fix: Case-sensitivity en namespaces Wordpress -> WordPress
PROBLEMA: - El modal de contacto no se mostraba en producción (Linux) - Funcionaba en local (Windows) porque filesystem es case-insensitive - Carpeta: `WordPress` (con P mayúscula) - Namespaces: `Wordpress` (con p minúscula) SOLUCION: - Corregir todos los namespaces de `Wordpress` a `WordPress` - También corregir paths incorrectos `ROITheme\Component\...` a `ROITheme\Shared\...` ARCHIVOS CORREGIDOS (14): - functions.php - Admin/Infrastructure/Api/WordPress/AdminMenuRegistrar.php - Admin/Shared/Infrastructure/Api/WordPress/AdminAjaxHandler.php - Public/ContactForm/Infrastructure/Api/WordPress/ContactFormAjaxHandler.php - Public/Footer/Infrastructure/Api/WordPress/NewsletterAjaxHandler.php - Shared/Infrastructure/Api/WordPress/AjaxController.php - Shared/Infrastructure/Api/WordPress/MigrationCommand.php - Shared/Infrastructure/Di/DIContainer.php - Shared/Infrastructure/Persistence/WordPress/WordPressComponentRepository.php - Shared/Infrastructure/Persistence/WordPress/WordPressComponentSettingsRepository.php - Shared/Infrastructure/Persistence/WordPress/WordPressDefaultsRepository.php - Shared/Infrastructure/Services/CleanupService.php - Shared/Infrastructure/Services/SchemaSyncService.php - Shared/Infrastructure/Services/WordPressValidationService.php 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -3,8 +3,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace ROITheme\Shared\Infrastructure\Services;
|
||||
|
||||
use ROITheme\Component\Infrastructure\Persistence\Wordpress\WordPressComponentRepository;
|
||||
use ROITheme\Component\Infrastructure\Persistence\Wordpress\WordPressDefaultsRepository;
|
||||
use ROITheme\Shared\Infrastructure\Persistence\WordPress\WordPressComponentRepository;
|
||||
use ROITheme\Shared\Infrastructure\Persistence\WordPress\WordPressDefaultsRepository;
|
||||
|
||||
/**
|
||||
* CleanupService - Limpieza de componentes obsoletos
|
||||
|
||||
@@ -3,7 +3,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace ROITheme\Shared\Infrastructure\Services;
|
||||
|
||||
use ROITheme\Shared\Infrastructure\Persistence\Wordpress\WordPressDefaultsRepository;
|
||||
use ROITheme\Shared\Infrastructure\Persistence\WordPress\WordPressDefaultsRepository;
|
||||
|
||||
/**
|
||||
* SchemaSyncService - Sincronizar schemas JSON → BD
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace ROITheme\Shared\Infrastructure\Services;
|
||||
|
||||
use ROITheme\Shared\Domain\Contracts\ValidationServiceInterface;
|
||||
use ROITheme\Shared\Domain\ValidationResult;
|
||||
use ROITheme\Component\Infrastructure\Persistence\Wordpress\WordPressDefaultsRepository;
|
||||
use ROITheme\Shared\Infrastructure\Persistence\WordPress\WordPressDefaultsRepository;
|
||||
|
||||
/**
|
||||
* WordPressValidationService - Validación contra schemas
|
||||
|
||||
Reference in New Issue
Block a user