change logo and colors

This commit is contained in:
2026-09-24 17:22:46 +02:00
parent 0b2c9f271f
commit 532bc620de
13 changed files with 263 additions and 16 deletions

View File

@@ -157,4 +157,17 @@ if (( VERSION < 3 )); then
wp_ option update ga_setup_version 3
fi
# Etapa 4: APIs (GraphQL y documentación Swagger de la API REST)
if (( VERSION < 4 )); then
log "Instalando APIs: WPGraphQL y Swagger"
for plugin in wp-graphql wp-api-swaggerui; do
wp_ plugin install "$plugin" --activate >/dev/null 2>&1 && log " ✓ $plugin" || log " ✗ No se pudo instalar $plugin"
done
wp_ option update swagger_api_spec_version 3.0.3 # OpenAPI 3
wp_ option update swagger_api_expose_contact_email 0 # no publicar el email del administrador
wp_ option update swagger_api_basepath /wp/v2
wp_ rewrite flush
wp_ option update ga_setup_version 4
fi
log "Configuración completada"