Skip to content
Back to skills

Woocommerce Knowledge Patch

ASecurity

WooCommerce

  • 25 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 5, 2026
developmentgophpreactapidatabasefrontendsecurity

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill woocommerce-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Woocommerce Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Woocommerce Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-woocommerce-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-woocommerce-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: woocommerce-knowledge-patch
description: WooCommerce
version: null
license: MIT
metadata:
  author: Nevaberry
---


# WooCommerce Knowledge Patch

Load this skill when upgrading WooCommerce or working on extensions, storefront
blocks, checkout, orders, admin workflows, payments, or subscriptions.
Use the topic references for complete guidance, examples, and version attribution.

| Reference | Topics |
| --- | --- |
| [Core, Orders, and Admin](references/core-orders-admin.md) | Order lifecycle, stock, REST and Store APIs, checkout, shipping, fulfillments, sessions, HPOS, Analytics, admin compatibility, and database migrations. |
| [Features and Release Policy](references/features-release-policy.md) | Editor migrations, feature flags, storefront blocks, galleries, emails, MCP, GraphQL, Agentic Commerce, release availability, and update recovery. |
| [Payments and Subscriptions](references/payments-subscriptions.md) | Payment settings, WooPayments, BACS, PayPal Standard, coupons, currencies, Stripe, and Subscriptions security updates. |

## Breaking changes, deprecations, and security fixes

### Editor integrations and retired flags

- WooCommerce 11.0 completes the Product Editor Beta deprecation. Move integrations
  that depend on the beta editor to the classic product editor.
- Remove dependencies on `__experimentalWooProductFieldItem`,
  `__experimentalWooProductSectionItem`, `__experimentalWooProductTabItem`,
  `__experimentalProductSectionLayout`, and `__experimentalProductFieldSection`
  from `@woocommerce/components`.
- Some stable WooCommerce Admin features load directly. For affected retired flags,
  `Features::is_enabled()` and `window.wcAdminFeatures` return compatibility values
  and emit deprecation warnings; remove extension gates relying on those flags.
- React Payments settings are standard for all stores. Remove
  `reactify-classic-payments-settings` overrides from
  `woocommerce_admin_get_feature_config` because the flag was removed.
- Admin scripts reading `wcSettings.admin.onboarding` must stop relying on the
  removed `euCountries` and `local_Info` keys.
- Replace deprecated `wc_current_theme_is_fse_theme()` with `wp_is_block_theme()`.

### Order saves, stock, and metadata

- REST order line-item edits automatically adjust stock for orders in `processing`,
  `on-hold`, or `completed`. Take this into account if the integration also adjusts stock.
- In WooCommerce 11.0, moving an order to `failed` restores stock reduced for that
  order. Review custom stock-restoration logic running on this transition.
- WooCommerce 11.0.0 changes `woocommerce_removed_order_items` action timing.
  Database deletion is deferred until the order's `save()`; review callbacks that
  depend on when deletion is persisted.
- `WC_Abstract_Order::remove_order_items()` records IDs present when removal is
  requested, so replacements added before `$order->save()` survive the save.
  Extensions with custom order data stores should review `get_item_ids()` and
  `delete_items_by_ids()` implementations.
- Starting with WooCommerce 11.0.0, the order editor discards reserved order item
  meta keys entered through **Add meta** when saving. Update workflows relying on this.
- WooCommerce 11.2 changes product save and reorder lifecycle hooks. Test extensions
  relying on callbacks during either operation before upgrading.

### API validation and access

- The Store API product and product review collection endpoints require `per_page`
  to be at least `1`. Replace `per_page=0` with a positive size and fetch remaining
  pages using `page`.
- Order queries with default `status=any` omit checkout drafts. Request
  `status=checkout-draft` explicitly when an integration needs them.
- For new sessions, the Store API persists a draft later in checkout, closer to
  placement. Extensions looking up persisted drafts should handle checkout having
  started before a draft exists.
- `PUT /wc/v2/orders/{id}` and `PUT /wc/v3/orders/{id}` reject updates when the ID's
  record type differs from `shop_order`.
- `wc/v3/orders/<id>/actions/send_order_details` rejects an `email` parameter that
  differs from the billing email already on the order.
- The v4 Products REST API omits download details, cost of goods sold, and purchase
  notes for callers without product management capabilities. The REST API blocks
  unauthenticated access to fulfillment records for guest orders.
- WooCommerce 11.3 validates REST API refund allocations. Test allocation payloads
  your integration sends before upgrading.
- Custom admin requests to `product_ordering()` and `term_ordering()` require a valid nonce.

### Block, asset, and controller compatibility

- WooCommerce skips block type and pattern registration on requests that cannot
  render or edit blocks, including Store API and REST requests. Extensions rendering
  blocks on those requests can opt back in with `woocommerce_should_register_blocks`.
- With the WordPress Core Breadcrumbs block, the second argument to
  `woocommerce_get_breadcrumb` can be `null`; check it before calling object methods.
- Declare script dependencies explicitly with the new `wc-` handles, such as
  `wc-accounting` and `wc-jquery-payment`.
- `wc-admin` and `wc-analytics` REST namespaces load on demand. Extensions relying on
  their controllers on every REST request should test against the new behavior.
- Upgrading to WooCommerce 10.4 switches existing Mini Cart blocks to the
  Interactivity API implementation in development and production. Test extensions
  customizing Mini Cart behavior against it.
- Delete and reinsert Product Gallery beta blocks placed before 10.0 because the
  compatibility bridge was scheduled for removal in 10.2.
- WooCommerce 10.8 requires WordPress 6.9 or later.

### Security and integration updates

- WooCommerce 8.1 through 10.4.2 can expose guest order details to authenticated
  users through the Store API. Upgrade to 10.4.3 or later for the fix.
- WooCommerce 10.5.3 closes a Store API batch nonce-check bypass by validating parsed
  URL paths and restricting subrequests to `/wc/store` routes. Update to 10.5.3 for
  the fix on the 10.5 release line.
- Update Stripe for WooCommerce for the August 6, 2026 security fix. On stores using
  Adaptive Pricing, update the extension for the July 14, 2026 payment-validation patch.
- Update WooCommerce Subscriptions to 9.1.0 on both production and staging sites.
- WooCommerce 11.3 changes MCP connections. Follow the
  [migration guide](https://developer.woocommerce.com/2026/10/21/woocommerce-11-3-mcp/)
  when updating an existing connection.

## Checkout, shipping, and fulfillment quick reference

- Set `description` and `delivery_time` on `WC_Shipping_Rate` through
  `woocommerce_package_rates`. Shipping selectors in the Cart and Checkout blocks can
  display both; the Cart block sidebar displays delivery time.
- Enable the built-in shipping setting to hide other rates when free shipping is
  available. A rate with no cost specified defaults to `'0'` in 9.9.4.
- Return `true` from `woocommerce_shipping_prices_include_tax` to treat configured
  shipping prices as tax-inclusive and keep the total shipping charge fixed across
  VAT rates. A custom callback can enable this based on the customer's location.
- Additional Checkout Fields support required checkboxes and custom unchecked errors.
  JSON Schema conditions in PHP can make fields required based on cart, order, or
  customer data. Checkout omits fields hidden by a rule from submission.
- The Store API can evaluate experimental hiding rules for additional fields; both
  Store API and frontend forms can evaluate experimental validation rules.
- Shareable `/checkout-link/` URLs accept comma-separated `ID:quantity` pairs in
  `products` and an optional `coupon`. Use variation IDs for specific variations.
  Opening the link adds items, applies the coupon, and redirects to checkout.
- Fractional quantities work in Store API and block Cart and Checkout when enabled
  by an extension. Store API honors hooks such as `woocommerce_quantity_input_args`.
- When Store API checkout rate limiting is enabled, only checkout `POST` requests
  count toward the limit. Payment method switches and checkout data updates use `PUT`.
- Order Fulfillments is beta: enable it to track shipments, split orders across
  fulfillments, and send shipping updates. Draft status prepares a shipment without
  sending a notification. See the core reference for WP-CLI, PHP methods, and hooks.

## Product and storefront quick reference

- Place Product Filters inside Product Collection to filter without page reloads;
  filters appear in a modal on mobile. Category, Brand, and Tag filters can combine.
- Product Collection's **Order by** for a **Default** query affects every collection
  using that default query. Carousel layout is manually scrollable.
- Third-party blocks supporting Product Collection client-side navigation can opt in
  through `supports.interactivity.clientNavigation` in `block.json`.
- New stores and newly inserted Cart blocks use Product Collection's Cross-Sells by default.
  Existing soft-deprecated Cart Cross-Sells blocks can use **Transform** to switch.
- Native variation image galleries are enabled for every store. The Additional
  Variation Images extension is being retired, and the experimental toggle is gone.
- Product gallery videos are beta, disabled by default, and support locally uploaded
  videos in classic and block-based galleries when enabled in feature settings.
- Product Image lazy-loads by default; `woocommerce_product_image_loading_attr`
  overrides its loading attribute.
- On-Sale Badge can display discount amount, discount percentage, or custom text,
  with built-in styling controls in product collections and galleries.

## API, reporting, and email quick reference

- Variation lists accept `include_status`, `exclude_status`, `virtual`, and
  `downloadable`. `/wp-json/wc/v3/variations` lists variations without a parent ID
  in the path. Allow product names to be omitted from API responses for private or draft products.
- All Store API endpoints support batching, including `GET` subrequests. Cross-origin
  browser clients can read the `Cart-Token` response header.
- Enable stable Cost of Goods Sold in settings to track product and order costs;
  cost data is exposed through REST and programmatic APIs.
- Use `woocommerce_export_report_controller_map` for custom report controllers and
  `woocommerce_export_report_data_endpoint` to add or replace export data endpoints.
  Background export jobs receive currency and custom filters from the report URL.
- Sales API calculations include refunds. Analytics surfaces failed historical
  imports and lets merchants retry them.
- MCP beta clients can discover store operations as tools, subject to authentication
  and store permissions. Extensions can expose their own read-only abilities.
- The code and GraphQL API includes an externally usable GraphQL engine. GraphQL
  settings under **WooCommerce → Settings → Advanced** include a GET endpoint toggle.
- Email Improvements defaults on for new installations. Automatic opt-in of existing
  stores was paused in 9.9.4; remaining stores receive a manual prompt and already
  opted-in stores keep the new templates.
- With the experimental block email editor enabled, email blocks support `alignfull`
  and WordPress embeds render as rich cards, up to five per email. Reset actions restore
  the current plugin template and stamp sync metadata; see the features reference
  for the reset endpoint and filters.
- Enable opt-in **Customer Review Request** in feature settings and configure its
  delay under **WooCommerce → Settings → Emails**. Action Scheduler queues it after
  completion and cancels it for cancelled, refunded, or trashed orders.
- Open **WooCommerce → Status → Logs** for transactional email send attempts,
  success status, and available local failure details. Abandoned Cart emails are experimental.

## Database updates and operations

- Database updates and migrations run in the background by default on all stores.
  Return `false` from `woocommerce_enable_auto_update_db` to opt out.
- HPOS datastore caching is a standard opt-in feature for frequently accessed order
  data on stores using HPOS. Return true from `woocommerce_pre_refresh_order_count_cache` to skip the
  order count cache refresh when your extension manages the cache itself.
- Import and export core settings under **WooCommerce → Settings → Advanced → Blueprints**
  or WP-CLI. Use existing data import/export tools for products, orders, and customers.
- WooCommerce 11.0 bundles Action Scheduler 4.0.0; extensions using the bundled
  scheduler should verify their scheduled jobs against this version.
- During an update to 10.9.0, WordPress can show a fatal-error notice or send a
  recovery email. After completion, reload admin; if the error persists, clear the
  site or server cache or ask the host to restart PHP or flush OPcache.
- Use the latest core release for security updates; the release index considers
  only the latest version fully secure.

Files in this skill

  • SKILL.md5.4 KB
  • coverage.json455 B
  • references/core-orders-admin.md1.3 KB
  • references/features-release-policy.md926 B
  • references/payments-subscriptions.md683 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.