Fix Bootstrap Icons: Mover de CDN a local - Issue #135
PROBLEMA: - Iconos de share buttons no se mostraban en staging - Bootstrap Icons CDN causaba SecurityError (CORS) - Browser bloqueaba acceso a cssRules del stylesheet cross-origin - content: "" vacío en ::before pseudo-elements SOLUCIÓN: - Descargar Bootstrap Icons v1.11.3 localmente - assets/vendor/bootstrap-icons.min.css (85KB) - assets/vendor/fonts/ con woff2 y woff (298KB total) - Actualizar enqueue-scripts.php para cargar local - Agregar dependencia en apus-bootstrap - Version 1.0.12 -> 1.0.13 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -49,11 +49,11 @@ function apus_enqueue_bootstrap() {
|
||||
'all'
|
||||
);
|
||||
|
||||
// Bootstrap Icons CSS - from CDN
|
||||
// Bootstrap Icons CSS - LOCAL (Issue #135: CORS bloqueaba CDN)
|
||||
wp_enqueue_style(
|
||||
'bootstrap-icons',
|
||||
'https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css',
|
||||
array(),
|
||||
get_template_directory_uri() . '/assets/vendor/bootstrap-icons.min.css',
|
||||
array('apus-bootstrap'),
|
||||
'1.11.3',
|
||||
'all'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user