Files
krolewskie-miody.pl/.paul/codebase/radar/codebase-memory-plan.txt

21 lines
1.3 KiB
Plaintext

Timestamp: 2026-05-21T14:32:06+02:00
Mode: plan
Scope: InPost Pay / wp_body_open / WooCommerce product pages
codebase-memory-mcp:
- list_projects did not include this repository.
- index_repository(mode=fast) for C:\visual-studio-code\krolewskie-miody.pl timed out after 120s.
- Status: degraded.
Fallback targeted scan:
- `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"`
- `wp-content/themes/betheme/header.php` has `<body <?php body_class(); ?>>` followed by `<?php wp_body_open(); ?>`.
- `wp-content/themes/betheme/header-shop.php` has `<body <?php body_class(); ?>>` without `wp_body_open()`.
- `wp-content/themes/betheme/woocommerce.php` calls `get_header( 'shop' );`.
- `wp-content/themes/betheme/single-template.php` calls `get_header( 'shop' );` for `single-product` and `shop-archive` templates.
- `wp-content/plugins/inpost-pay/src/hooks/front/FrontWidgetV2.php` registers `add_root_script_after_body_open` on `wp_body_open`.
Conclusion:
- The homepage fix covered `header.php`, but WooCommerce product/shop pages can render through `header-shop.php`.
- Add `wp_body_open()` directly after the `<body>` tag in `header-shop.php`.