fix: add wp_body_open to WooCommerce header

This commit is contained in:
2026-05-21 14:46:36 +02:00
parent e90c251d0b
commit 07e0174035
10 changed files with 411 additions and 30 deletions

View File

@@ -51,3 +51,46 @@ Użyj `$paul-plan [work]` dla konkretnej zmiany. Przy planowaniu zawęź radar d
- Verification: `rg` potwierdził `wp_body_open()` bezpośrednio po `<body <?php body_class(); ?>>`.
- PHP lint: skipped, `php` nie jest dostępny w PATH.
- Raw output: `.paul/codebase/radar/codebase-memory-post-apply-20260519-1532-naprawa-inpost-pay-wp-body-open.txt`
## 2026-05-21T14:32:06+02:00 - Plan Scan
**Mode:** `plan`
**Scope:** InPost Pay / `wp_body_open` / WooCommerce product pages
**Tools:**
- `codebase-memory-mcp`: degraded. Repo not present in `list_projects`; `index_repository(mode=fast)` timed out after 120s.
- `jscpd`: disabled by policy (`quality_radar.tools.jscpd: false`).
- `ast-grep`: disabled by policy (`quality_radar.tools.ast_grep: false`).
- Fallback: targeted `rg` scans and direct file reads.
**Commands / checks attempted:**
- MCP `list_projects`
- MCP `index_repository` for `C:\visual-studio-code\krolewskie-miody.pl`
- `rg -n "wp_body_open|<body|body_class|get_header\(|header\.php|woocommerce_before_single_product" wp-content\themes wp-content\plugins\inpost-pay wp-content\plugins\woocommerce -g "*.php"`
- `rg -n 'wp_body_open|IPPWidgetOptions|body_open|showIzi' wp-content\plugins\inpost-pay wp-content\themes\betheme -g '*.php' -g '*.js'`
**Raw output:**
- `.paul/codebase/radar/codebase-memory-plan.txt`
**Next action:**
- Apply planned hotfix in `wp-content/themes/betheme/header-shop.php`.
## 2026-05-21T14:37:52+02:00 - Post-Apply Scan
**Mode:** `post-apply`
**Scope:** `.paul/plans/20260521-1428-naprawa-wp-body-open-woocommerce/PLAN.md`
**Tools:**
- `codebase-memory-mcp`: degraded. Full graph scan not rerun because repository indexing timed out during plan scan.
- `jscpd`: disabled by policy (`quality_radar.tools.jscpd: false`).
- `ast-grep`: disabled by policy (`quality_radar.tools.ast_grep: false`).
- Fallback: targeted `rg` scans and `php -l`.
**Commands / checks attempted:**
- `rg -n "wp_body_open|<body" wp-content\themes\betheme\header.php wp-content\themes\betheme\header-shop.php`
- `rg -n "<body|wp_body_open" wp-content\themes\betheme -g "*.php"`
- `php -l wp-content\themes\betheme\header-shop.php`
**Raw output:**
- `.paul/codebase/radar/codebase-memory-post-apply.txt`
**Next action:**
- Manual browser verification on product URL with `?showIzi=true`.