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:
5
wp-content/themes/apus-theme/assets/vendor/bootstrap-icons.min.css
vendored
Normal file
5
wp-content/themes/apus-theme/assets/vendor/bootstrap-icons.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
wp-content/themes/apus-theme/assets/vendor/fonts/bootstrap-icons.woff
vendored
Normal file
BIN
wp-content/themes/apus-theme/assets/vendor/fonts/bootstrap-icons.woff
vendored
Normal file
Binary file not shown.
BIN
wp-content/themes/apus-theme/assets/vendor/fonts/bootstrap-icons.woff2
vendored
Normal file
BIN
wp-content/themes/apus-theme/assets/vendor/fonts/bootstrap-icons.woff2
vendored
Normal file
Binary file not shown.
@@ -14,7 +14,7 @@ if (!defined('ABSPATH')) {
|
|||||||
/**
|
/**
|
||||||
* Theme Version
|
* Theme Version
|
||||||
*/
|
*/
|
||||||
define('APUS_VERSION', '1.0.12');
|
define('APUS_VERSION', '1.0.13');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Theme Setup
|
* Theme Setup
|
||||||
|
|||||||
@@ -49,11 +49,11 @@ function apus_enqueue_bootstrap() {
|
|||||||
'all'
|
'all'
|
||||||
);
|
);
|
||||||
|
|
||||||
// Bootstrap Icons CSS - from CDN
|
// Bootstrap Icons CSS - LOCAL (Issue #135: CORS bloqueaba CDN)
|
||||||
wp_enqueue_style(
|
wp_enqueue_style(
|
||||||
'bootstrap-icons',
|
'bootstrap-icons',
|
||||||
'https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css',
|
get_template_directory_uri() . '/assets/vendor/bootstrap-icons.min.css',
|
||||||
array(),
|
array('apus-bootstrap'),
|
||||||
'1.11.3',
|
'1.11.3',
|
||||||
'all'
|
'all'
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user