Skip to content

v1.0.5 - License, Security, Tests

Choose a tag to compare

@github-actions github-actions released this 16 Apr 02:37
· 10 commits to main since this release

v1.0.5 — 라이선스 통합, 보안 수정, 무결성 테스트

License Integration (DW Site Builder License API)

  • DWCAT_License 클래스: 라이선스 활성화/검증/비활성화/업데이트 체크
  • 관리자 메뉴: DW Catalog > License
  • API 엔드포인트: /activate, /verify, /deactivate, /check-update
  • 일일 자동 검증 (transient 기반)
  • uninstall.php에 라이선스 옵션 정리 추가

Security Fixes (WP Plugin Handbook)

  • $_GET['page'] 5개 파일에서 sanitize_text_field() 적용
  • uninstall.php: $wpdb->prepare() 사용으로 SQL injection 방지

Integrity Tests (Claude Code Development Guide)

  • tests/test-plugin-integrity.php: 88개 자동화 테스트
  • 검증 항목: 파일구조, 헤더, 버전일관성, 프리픽스(5자), ABSPATH, 클래스정의, Nonce, Sanitize, SQL안전성, 라이선스, 훅, 마이그레이션
php tests/test-plugin-integrity.php
=== RESULTS ===
PASS: 88
FAIL: 0
ALL TESTS PASSED