Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ Save with `$model->save()` which returns `true` or `WP_Error`.
Use `WP_Error` for validation/operation failures — not exceptions.
`Runtime_Exception` exists but is rarely used. Check `is_wp_error()` on return values.

### Recurring Product Context
- Signup/payment timeout reports may involve a pre-created pending membership and
`pending_site` cleanup. Inspect the checkout, membership, payment gateway, and
orphaned-site cleanup paths together before changing watchdog or cancellation logic.
- Do not reference an `ultimate-multisite-woocommerce` addon release as v2.0.23; the
latest known released version is v2.0.10 unless repository evidence says otherwise.

### Tests
- Extend `WP_UnitTestCase`. Tests run in a WordPress Multisite environment
(`WP_TESTS_MULTISITE=1`).
Expand Down
Loading