Skip to content

Conversation

@tyxla
Copy link
Member

@tyxla tyxla commented Dec 17, 2025

Submission Review Guidelines:

Changes proposed in this Pull Request:

After CYS was removed in #61932, the patched @wordpress/edit-site dependency is no longer needed.

This PR removes it.

Closes #52670.
Fixes #WOOPLUG-2723.

How to test the changes in this Pull Request:

Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:

  1. Smoke test the plugin admin
  2. Make sure all of CI is green

Testing that has already taken place:

Smoke testing of the admin.

Milestone

Note: Check the box above to have the milestone automatically assigned when merged.
Alternatively (e.g. for point releases), manually assign the appropriate milestone.

Changelog entry

  • Automatically create a changelog entry from the details below.
  • This Pull Request does not require a changelog entry. (Comment required below)
Changelog Entry Details

Significance

  • Patch
  • Minor
  • Major

Type

  • Fix - Fixes an existing bug
  • Add - Adds functionality
  • Update - Update existing functionality
  • Dev - Development related task
  • Tweak - A minor adjustment to the codebase
  • Performance - Address performance issues
  • Enhancement - Improvement to existing functionality

Message

Changelog Entry Comment

Comment

Deps: Remove patched and pinned @wordpress/[email protected]

@tyxla tyxla self-assigned this Dec 17, 2025
@tyxla tyxla requested a review from a team as a code owner December 17, 2025 09:43
@tyxla tyxla requested review from jorgeatorres and removed request for a team December 17, 2025 09:43
@tyxla tyxla added plugin: woocommerce Issues related to the WooCommerce Core plugin. type: dependencies Pull requests that update a dependency file (used by renovate). labels Dec 17, 2025
@github-actions github-actions bot added the focus: monorepo infrastructure Issues and PRs related to monorepo tooling. label Dec 17, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 17, 2025

Testing Guidelines

Hi @jorgeatorres @sunyatasattva @Aljullu @gigitux @dinhtungdu @kmanijak ,

Apart from reviewing the code changes, please make sure to review the testing instructions (Guide) and verify that relevant tests (E2E, Unit, Integration, etc.) have been added or updated as needed.

Reminder: PR reviewers are required to document testing performed. This includes:

  • 🖼️ Screenshots or screen recordings.
  • 📝 List of functionality tested / steps followed.
  • 🌐 Site details (environment attributes such as hosting type, plugins, theme, store size, store age, and relevant settings).
  • 🔍 Any analysis performed, such as assessing potential impacts on environment attributes and other plugins, conducting performance profiling, or using LLM/AI-based analysis.

⚠️ Within the testing details you provide, please ensure that no sensitive information (such as API keys, passwords, user data, etc.) is included in this public issue.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 17, 2025

📝 Walkthrough

Walkthrough

Removes a patched version of @wordpress/edit-site@5.15.0 and updates the dependency to wp-6.6. The patch previously modified lock/unlock exports and the setPage action; these customizations are no longer needed with the newer version.

Changes

Cohort / File(s) Summary
Patch removal and dependency configuration
bin/patches/@[email protected], package.json
Deleted the patch file and removed its mapping from pnpm.patchedDependencies, eliminating custom modifications to lock/unlock exports and setPage action handler
Dependency version update
plugins/woocommerce/client/admin/package.json
Updated @wordpress/edit-site from 5.15.0 to wp-6.6
Changelog documentation
plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
Added patch-level changelog entry documenting the patched dependency removal

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

  • Straightforward dependency update and patch removal
  • No functional code changes or logic modifications
  • Configuration-only alterations with clear intent

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR removes the patched @wordpress/[email protected] and updates to wp-6.6, but issue #52670 requested updating to the latest version. The PR only removes the patch without fully addressing the requirement. Clarify whether updating to wp-6.6 (latest) satisfies issue #52670's objective, or whether additional work is needed to properly address the underlying API compatibility issues mentioned in the issue.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and clearly describes the main change: removing the patched and pinned @wordpress/[email protected] dependency, which aligns with the changeset.
Description check ✅ Passed The description is related to the changeset, explaining that the patched @wordpress/edit-site dependency is no longer needed after CYS was removed, which matches the file changes.
Out of Scope Changes check ✅ Passed All changes are in-scope: removing the patch file, updating package.json dependency versions, and creating a changelog entry directly address the stated objective of removing the patched @wordpress/[email protected].
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch remove/patched-edit-site-version

📜 Recent review details

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8367372 and fc9ad90.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (4)
  • bin/patches/@[email protected] (0 hunks)
  • package.json (0 hunks)
  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version (1 hunks)
  • plugins/woocommerce/client/admin/package.json (1 hunks)
💤 Files with no reviewable changes (2)
🧰 Additional context used
🧠 Learnings (14)
📓 Common learnings
Learnt from: prettyboymp
Repo: woocommerce/woocommerce PR: 60272
File: .github/workflows/release-open-issue-warning.yml:15-23
Timestamp: 2025-08-08T13:52:26.423Z
Learning: Repository: woocommerce/woocommerce
Context: .github/workflows/release-open-issue-warning.yml and similar workflows
Learning: Maintainers (per prettyboymp) are fine requiring third-party modules inside actions/github-script without adding setup-node/createRequire. Prefer to keep this pattern and defer structural changes unless it demonstrably causes issues; minor safeguards like version pinning are acceptable if needed.
📚 Learning: 2025-11-24T16:13:34.861Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: plugins/woocommerce/client/admin/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:13:34.861Z
Learning: Applies to plugins/woocommerce/client/admin/client/admin/package.json : Use workspace dependencies notation (`workspace:*`) for internal package references in the monorepo

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-11-24T16:12:58.709Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: packages/js/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:12:58.709Z
Learning: Applies to packages/js/**/*.{js,ts,tsx} : Add a changelog entry for every functional change to a WooCommerce JS package using `pnpm changelog add` or manual creation in `packages/js/[package-name]/changelog/[type-brief-description]`

Applied to files:

  • plugins/woocommerce/client/admin/package.json
  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
📚 Learning: 2025-08-22T10:00:26.594Z
Learnt from: jorgeatorres
Repo: woocommerce/woocommerce PR: 60555
File: tools/monorepo-utils/src/code-freeze/commands/changelog/lib/index.ts:0-0
Timestamp: 2025-08-22T10:00:26.594Z
Learning: In WooCommerce workflows, the version variable used in changelog generation is guaranteed to be in X.Y.Z[-suffix] format because it comes from the plugin version itself via the $VERSION environment variable, making defensive programming for X.Y inputs unnecessary in tools/monorepo-utils/src/code-freeze/commands/changelog/lib/index.ts.

Applied to files:

  • plugins/woocommerce/client/admin/package.json
  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
📚 Learning: 2025-11-24T16:13:34.861Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: plugins/woocommerce/client/admin/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:13:34.861Z
Learning: Applies to plugins/woocommerce/client/admin/client/**/*.{ts,tsx} : Use TypeScript for all new code in the admin client (target: TypeScript 5.7.x)

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-11-24T16:13:34.861Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: plugins/woocommerce/client/admin/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:13:34.861Z
Learning: Applies to plugins/woocommerce/client/admin/client/**/*.{ts,tsx} : Use React 18.3.x with functional components and hooks; follow existing component patterns in the codebase

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-08-19T10:43:00.733Z
Learnt from: yuliyan
Repo: woocommerce/woocommerce PR: 60354
File: packages/php/email-editor/src/Engine/class-settings-controller.php:215-221
Timestamp: 2025-08-19T10:43:00.733Z
Learning: WooCommerce requires WordPress 6.7 as the minimum version, so code doesn't need to guard against features introduced in WordPress 6.1 or later, including WP_Block_Type properties like style_handles and editor_style_handles.

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-12-11T15:57:36.702Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-12-11T15:57:36.702Z
Learning: Applies to plugins/woocommerce/src/**/*.php : Version management for `since` annotations should reference the current version from `includes/class-woocommerce.php` with the `-dev` suffix removed

Applied to files:

  • plugins/woocommerce/client/admin/package.json
  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
📚 Learning: 2025-08-19T10:42:44.153Z
Learnt from: yuliyan
Repo: woocommerce/woocommerce PR: 60354
File: packages/php/email-editor/src/Engine/class-settings-controller.php:191-205
Timestamp: 2025-08-19T10:42:44.153Z
Learning: WooCommerce email editor supports WordPress versions newer than 5.5. WordPress 5.5 and older versions are outside the supported range, so backward compatibility considerations for those versions (such as including `wp-block-library-theme-css` for older WP theme styles) are not necessary.

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-11-24T16:13:34.861Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: plugins/woocommerce/client/admin/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:13:34.861Z
Learning: Applies to plugins/woocommerce/client/admin/client/**/*.{js,ts,tsx} : Use ESLint 8.x with `woocommerce/eslint-plugin` for linting JavaScript/TypeScript files

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-11-10T09:50:13.291Z
Learnt from: ralucaStan
Repo: woocommerce/woocommerce PR: 61850
File: plugins/woocommerce/client/blocks/tests/e2e/tests/product-button/product-button.block_theme.spec.ts:33-41
Timestamp: 2025-11-10T09:50:13.291Z
Learning: WooCommerce 10.4 will be released after WordPress 6.9 and will support WordPress 6.9 and 6.8 as the minimum version (no longer supporting WordPress 6.7). This means features available only in WordPress 6.8+ can be used without fallbacks in WooCommerce 10.4 and later.

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-07-15T15:39:21.856Z
Learnt from: jorgeatorres
Repo: woocommerce/woocommerce PR: 59675
File: .github/workflows/release-bump-as-requirement.yml:48-65
Timestamp: 2025-07-15T15:39:21.856Z
Learning: In WooCommerce core repository, changelog entries for all PRs live in `plugins/woocommerce/changelog/` directory and are processed during releases, not at the repository root level.

Applied to files:

  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
📚 Learning: 2025-11-24T16:12:58.709Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: packages/js/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:12:58.709Z
Learning: Applies to packages/js/**/changelog/* : Changelog entry format: Include Significance field with values `patch`, `minor`, or `major` based on semver rules (patch for bug fixes/no API changes, minor for new features/non-breaking changes, major for breaking changes)

Applied to files:

  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
📚 Learning: 2025-08-07T10:34:27.723Z
Learnt from: jorgeatorres
Repo: woocommerce/woocommerce PR: 60250
File: .github/workflows/release-compile-changelog.yml:165-166
Timestamp: 2025-08-07T10:34:27.723Z
Learning: In WooCommerce release workflows, the VERSION variable used in changelog generation comes from the `validate-selected-branch-version` step, which extracts the version from `plugins/woocommerce/woocommerce.php` using `grep -oP '(?<=Version: )(.+)'` and validates it matches the input version. This ensures the version is always in the correct format by the time it reaches the changelog generation step, making additional error handling for version format validation unnecessary.

Applied to files:

  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (286)
  • GitHub Check: Core e2e tests - WP latest-1 [WP 6.8.3] 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 5/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 3/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 2/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - (HPOS:off) - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Gutenberg stable 2/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Legacy MiniCart - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 5/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/product-editor [unit]
  • GitHub Check: Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 4/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/data [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests - Gutenberg stable 1/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/settings-editor [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/components [unit]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: JavaScript - @woocommerce/block-library [unit]
  • GitHub Check: PHP: 8.1 WP: latest [WP latest] - @woocommerce/email-editor-config [unit:php]
  • GitHub Check: Core e2e tests - WP latest-1 [WP 6.8.3] 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 5/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 3/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 2/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - (HPOS:off) - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Gutenberg stable 2/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Legacy MiniCart - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 5/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/product-editor [unit]
  • GitHub Check: Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 4/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/data [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests - Gutenberg stable 1/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/settings-editor [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/components [unit]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: JavaScript - @woocommerce/block-library [unit]
  • GitHub Check: PHP: 8.1 WP: latest [WP latest] - @woocommerce/email-editor-config [unit:php]
  • GitHub Check: Core e2e tests - WP latest-1 [WP 6.8.3] 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 5/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 3/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 2/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - (HPOS:off) - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Gutenberg stable 2/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Legacy MiniCart - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 5/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/product-editor [unit]
  • GitHub Check: Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 4/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/data [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests - Gutenberg stable 1/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/settings-editor [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/components [unit]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: JavaScript - @woocommerce/block-library [unit]
  • GitHub Check: PHP: 8.1 WP: latest [WP latest] - @woocommerce/email-editor-config [unit:php]
  • GitHub Check: Core e2e tests - WP latest-1 [WP 6.8.3] 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 5/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 3/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 2/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - (HPOS:off) - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Gutenberg stable 2/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Legacy MiniCart - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 5/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/product-editor [unit]
  • GitHub Check: Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 4/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/data [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests - Gutenberg stable 1/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/settings-editor [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/components [unit]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: JavaScript - @woocommerce/block-library [unit]
  • GitHub Check: PHP: 8.1 WP: latest [WP latest] - @woocommerce/email-editor-config [unit:php]
  • GitHub Check: Core e2e tests - WP latest-1 [WP 6.8.3] 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 5/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 4/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 3/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 2/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - (HPOS:off) - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Gutenberg stable 2/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Legacy MiniCart - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 5/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/product-editor [unit]
  • GitHub Check: Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 4/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/data [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests - Gutenberg stable 1/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/settings-editor [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/components [unit]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: JavaScript - @woocommerce/block-library [unit]
  • GitHub Check: PHP: 8.1 WP: latest [WP latest] - @woocommerce/email-editor-config [unit:php]
  • GitHub Check: Core e2e tests - WP latest-1 [WP 6.8.3] 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 5/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 4/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 3/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 2/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - (HPOS:off) - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Gutenberg stable 2/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Legacy MiniCart - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 5/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/product-editor [unit]
  • GitHub Check: Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 4/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/data [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests - Gutenberg stable 1/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/settings-editor [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/components [unit]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: JavaScript - @woocommerce/block-library [unit]
  • GitHub Check: PHP: 8.1 WP: latest [WP latest] - @woocommerce/email-editor-config [unit:php]
  • GitHub Check: Core e2e tests - WP latest-1 [WP 6.8.3] 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 5/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 4/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 3/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 2/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - (HPOS:off) - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Gutenberg stable 2/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Legacy MiniCart - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 5/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/product-editor [unit]
  • GitHub Check: Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 4/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/data [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests - Gutenberg stable 1/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/settings-editor [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/components [unit]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: JavaScript - @woocommerce/block-library [unit]
  • GitHub Check: PHP: 8.1 WP: latest [WP latest] - @woocommerce/email-editor-config [unit:php]
  • GitHub Check: Core e2e tests - WP latest-1 [WP 6.8.3] 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 5/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 4/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 3/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 2/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - (HPOS:off) - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Gutenberg stable 2/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Legacy MiniCart - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 5/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/product-editor [unit]
  • GitHub Check: Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 4/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/data [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests - Gutenberg stable 1/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/settings-editor [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/components [unit]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: JavaScript - @woocommerce/block-library [unit]
  • GitHub Check: PHP: 8.1 WP: latest [WP latest] - @woocommerce/email-editor-config [unit:php]
  • GitHub Check: Core e2e tests - WP latest-1 [WP 6.8.3] 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 5/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 4/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 3/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 2/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - (HPOS:off) - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Gutenberg stable 2/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Legacy MiniCart - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 5/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/product-editor [unit]
  • GitHub Check: Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 4/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/data [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests - Gutenberg stable 1/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/settings-editor [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/components [unit]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: JavaScript - @woocommerce/block-library [unit]
  • GitHub Check: PHP: 8.1 WP: latest [WP latest] - @woocommerce/email-editor-config [unit:php]
  • GitHub Check: Core e2e tests - WP latest-1 [WP 6.8.3] 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 5/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 4/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 3/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 2/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - (HPOS:off) - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - PHP 8.4 1/5 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Gutenberg stable 2/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 1/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests 2/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests - Legacy MiniCart - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 5/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 7.4 WP: latest - 1 [WP 6.8.3] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: PHP: 8.4 WP: latest - Legacy MiniCart [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/product-editor [unit]
  • GitHub Check: Core e2e tests 6/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 4/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/data [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 1/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: Core e2e tests - Gutenberg stable 1/2 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: Core e2e tests 3/6 - @woocommerce/plugin-woocommerce [e2e]
  • GitHub Check: JavaScript - @woocommerce/settings-editor [unit]
  • GitHub Check: PHP: 8.4 WP: latest [WP latest] 2/2 - @woocommerce/plugin-woocommerce [unit:php]
  • GitHub Check: JavaScript - @woocommerce/components [unit]
  • GitHub Check: JavaScript - @woocommerce/admin-library [unit]
  • GitHub Check: JavaScript - @woocommerce/block-library [unit]
  • GitHub Check: PHP: 8.1 WP: latest [WP latest] - @woocommerce/email-editor-config [unit:php]
🔇 Additional comments (2)
plugins/woocommerce/changelog/62499-remove-patched-edit-site-version (1)

1-4: LGTM!

The changelog entry follows the correct format with appropriate significance (patch for a dependency update) and type (dev for infrastructure changes).

plugins/woocommerce/client/admin/package.json (1)

70-70: Verification confirms no code depends on patched behavior.

The update from 5.15.0 to wp-6.6 is safe. No code in the codebase references lock/unlock imports, setPage, or __experimentalGetTemplateForLink from @wordpress/edit-site. The wp-6.6 notation is consistent with other WordPress packages in the file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 17, 2025

📝 Walkthrough

Walkthrough

This change removes a patch previously applied to @wordpress/[email protected] and upgrades the dependency to wp-6.6 in the WooCommerce admin package. The patch removed public exports for lock, unlock, and the setPage action; upgrading to the newer version eliminates the need for this patch.

Changes

Cohort / File(s) Summary
Patch removal
bin/patches/@[email protected]
Deleted patch file that removed public exports (lock, unlock from lock-unlock.js, and setPage action from store/actions.js) from @wordpress/edit-site.
Package dependency updates
package.json, plugins/woocommerce/client/admin/package.json
Removed @wordpress/[email protected] from patchedDependencies in root package.json; updated @wordpress/edit-site version from 5.15.0 to wp-6.6 in WooCommerce admin package.json.
Changelog entry
plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
Added changelog file documenting patch removal and dependency upgrade as a dev-level patch.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Verify that @wordpress/edit-site wp-6.6 does not re-introduce the behaviors that the removed patch was suppressing (particularly around the lock/unlock exports and setPage action).
  • Confirm backward compatibility with existing WooCommerce admin functionality that may have depended on the patched behavior.

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and specifically summarizes the main change: removing the patched and pinned @wordpress/edit-site dependency version.
Description check ✅ Passed The description is relevant to the changeset, explaining that the patched @wordpress/edit-site dependency is no longer needed after CYS was removed.
Linked Issues check ✅ Passed The PR fulfills the objective from issue #52670 by removing the outdated patched @wordpress/[email protected] and updating to wp-6.6, addressing the API compatibility issues that motivated the original issue.
Out of Scope Changes check ✅ Passed All changes are directly related to removing the patched @wordpress/edit-site dependency: the patch file removal, package.json updates, and changelog entry are all in scope.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch remove/patched-edit-site-version

📜 Recent review details

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9b130c7 and aa237a2.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (4)
  • bin/patches/@[email protected] (0 hunks)
  • package.json (0 hunks)
  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version (1 hunks)
  • plugins/woocommerce/client/admin/package.json (1 hunks)
💤 Files with no reviewable changes (2)
🧰 Additional context used
🧠 Learnings (16)
📓 Common learnings
Learnt from: prettyboymp
Repo: woocommerce/woocommerce PR: 60272
File: .github/workflows/release-open-issue-warning.yml:15-23
Timestamp: 2025-08-08T13:52:26.423Z
Learning: Repository: woocommerce/woocommerce
Context: .github/workflows/release-open-issue-warning.yml and similar workflows
Learning: Maintainers (per prettyboymp) are fine requiring third-party modules inside actions/github-script without adding setup-node/createRequire. Prefer to keep this pattern and defer structural changes unless it demonstrably causes issues; minor safeguards like version pinning are acceptable if needed.
Learnt from: yuliyan
Repo: woocommerce/woocommerce PR: 60354
File: packages/php/email-editor/src/Engine/class-settings-controller.php:215-221
Timestamp: 2025-08-19T10:43:00.733Z
Learning: WooCommerce requires WordPress 6.7 as the minimum version, so code doesn't need to guard against features introduced in WordPress 6.1 or later, including WP_Block_Type properties like style_handles and editor_style_handles.
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: plugins/woocommerce/client/admin/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:13:34.861Z
Learning: Applies to plugins/woocommerce/client/admin/client/admin/package.json : Use workspace dependencies notation (`workspace:*`) for internal package references in the monorepo
Learnt from: yuliyan
Repo: woocommerce/woocommerce PR: 60354
File: packages/php/email-editor/src/Engine/class-settings-controller.php:191-205
Timestamp: 2025-08-19T10:42:44.153Z
Learning: WooCommerce email editor supports WordPress versions newer than 5.5. WordPress 5.5 and older versions are outside the supported range, so backward compatibility considerations for those versions (such as including `wp-block-library-theme-css` for older WP theme styles) are not necessary.
Learnt from: ralucaStan
Repo: woocommerce/woocommerce PR: 61850
File: plugins/woocommerce/client/blocks/tests/e2e/tests/product-button/product-button.block_theme.spec.ts:33-41
Timestamp: 2025-11-10T09:50:13.291Z
Learning: WooCommerce 10.4 will be released after WordPress 6.9 and will support WordPress 6.9 and 6.8 as the minimum version (no longer supporting WordPress 6.7). This means features available only in WordPress 6.8+ can be used without fallbacks in WooCommerce 10.4 and later.
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: plugins/woocommerce/client/admin/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:13:34.861Z
Learning: Applies to plugins/woocommerce/client/admin/client/**/*.{ts,tsx} : Use React 18.3.x with functional components and hooks; follow existing component patterns in the codebase
Learnt from: nerrad
Repo: woocommerce/woocommerce PR: 60176
File: plugins/woocommerce/client/legacy/css/admin.scss:9088-9105
Timestamp: 2025-08-04T00:21:51.440Z
Learning: WooCommerce is currently in the midst of an admin redesign project, so temporary/short-term CSS solutions for admin pages are preferred over long-term refactoring when addressing immediate needs.
📚 Learning: 2025-11-24T16:13:34.861Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: plugins/woocommerce/client/admin/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:13:34.861Z
Learning: Applies to plugins/woocommerce/client/admin/client/admin/package.json : Use workspace dependencies notation (`workspace:*`) for internal package references in the monorepo

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-11-24T16:12:58.709Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: packages/js/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:12:58.709Z
Learning: Applies to packages/js/**/*.{js,ts,tsx} : Add a changelog entry for every functional change to a WooCommerce JS package using `pnpm changelog add` or manual creation in `packages/js/[package-name]/changelog/[type-brief-description]`

Applied to files:

  • plugins/woocommerce/client/admin/package.json
  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
📚 Learning: 2025-11-24T16:13:34.861Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: plugins/woocommerce/client/admin/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:13:34.861Z
Learning: Applies to plugins/woocommerce/client/admin/client/**/*.{ts,tsx} : Use TypeScript for all new code in the admin client (target: TypeScript 5.7.x)

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-11-24T16:13:34.861Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: plugins/woocommerce/client/admin/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:13:34.861Z
Learning: Applies to plugins/woocommerce/client/admin/client/**/*.{ts,tsx} : Use React 18.3.x with functional components and hooks; follow existing component patterns in the codebase

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-08-22T10:00:26.594Z
Learnt from: jorgeatorres
Repo: woocommerce/woocommerce PR: 60555
File: tools/monorepo-utils/src/code-freeze/commands/changelog/lib/index.ts:0-0
Timestamp: 2025-08-22T10:00:26.594Z
Learning: In WooCommerce workflows, the version variable used in changelog generation is guaranteed to be in X.Y.Z[-suffix] format because it comes from the plugin version itself via the $VERSION environment variable, making defensive programming for X.Y inputs unnecessary in tools/monorepo-utils/src/code-freeze/commands/changelog/lib/index.ts.

Applied to files:

  • plugins/woocommerce/client/admin/package.json
  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
📚 Learning: 2025-06-20T17:38:16.565Z
Learnt from: opr
Repo: woocommerce/woocommerce PR: 0
File: :0-0
Timestamp: 2025-06-20T17:38:16.565Z
Learning: WooCommerce legacy JavaScript files in plugins/woocommerce/client/legacy/js/ must use older JavaScript syntax and cannot use modern features like optional chaining (?.) due to browser compatibility requirements. Explicit null checking with && operators should be used instead.

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-12-11T15:57:36.702Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-12-11T15:57:36.702Z
Learning: Applies to plugins/woocommerce/src/**/*.php : Version management for `since` annotations should reference the current version from `includes/class-woocommerce.php` with the `-dev` suffix removed

Applied to files:

  • plugins/woocommerce/client/admin/package.json
  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
📚 Learning: 2025-11-24T16:13:34.861Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: plugins/woocommerce/client/admin/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:13:34.861Z
Learning: Applies to plugins/woocommerce/client/admin/client/**/*.{js,ts,tsx} : Use ESLint 8.x with `woocommerce/eslint-plugin` for linting JavaScript/TypeScript files

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-11-24T16:12:58.709Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: packages/js/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:12:58.709Z
Learning: Applies to packages/js/data/src/** : For woocommerce/data package changes, update in this order: (1) Types in `src/[module]/types.ts`, (2) Test stubs in `src/[module]/test/helpers/`, (3) Implementation, (4) Add changelog entry

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-08-19T10:43:00.733Z
Learnt from: yuliyan
Repo: woocommerce/woocommerce PR: 60354
File: packages/php/email-editor/src/Engine/class-settings-controller.php:215-221
Timestamp: 2025-08-19T10:43:00.733Z
Learning: WooCommerce requires WordPress 6.7 as the minimum version, so code doesn't need to guard against features introduced in WordPress 6.1 or later, including WP_Block_Type properties like style_handles and editor_style_handles.

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-08-19T10:42:44.153Z
Learnt from: yuliyan
Repo: woocommerce/woocommerce PR: 60354
File: packages/php/email-editor/src/Engine/class-settings-controller.php:191-205
Timestamp: 2025-08-19T10:42:44.153Z
Learning: WooCommerce email editor supports WordPress versions newer than 5.5. WordPress 5.5 and older versions are outside the supported range, so backward compatibility considerations for those versions (such as including `wp-block-library-theme-css` for older WP theme styles) are not necessary.

Applied to files:

  • plugins/woocommerce/client/admin/package.json
📚 Learning: 2025-07-15T15:39:21.856Z
Learnt from: jorgeatorres
Repo: woocommerce/woocommerce PR: 59675
File: .github/workflows/release-bump-as-requirement.yml:48-65
Timestamp: 2025-07-15T15:39:21.856Z
Learning: In WooCommerce core repository, changelog entries for all PRs live in `plugins/woocommerce/changelog/` directory and are processed during releases, not at the repository root level.

Applied to files:

  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
📚 Learning: 2025-08-07T10:34:27.723Z
Learnt from: jorgeatorres
Repo: woocommerce/woocommerce PR: 60250
File: .github/workflows/release-compile-changelog.yml:165-166
Timestamp: 2025-08-07T10:34:27.723Z
Learning: In WooCommerce release workflows, the VERSION variable used in changelog generation comes from the `validate-selected-branch-version` step, which extracts the version from `plugins/woocommerce/woocommerce.php` using `grep -oP '(?<=Version: )(.+)'` and validates it matches the input version. This ensures the version is always in the correct format by the time it reaches the changelog generation step, making additional error handling for version format validation unnecessary.

Applied to files:

  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
📚 Learning: 2025-11-24T16:12:58.709Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: packages/js/CLAUDE.md:0-0
Timestamp: 2025-11-24T16:12:58.709Z
Learning: Applies to packages/js/**/changelog/* : Changelog entry format: Include Significance field with values `patch`, `minor`, or `major` based on semver rules (patch for bug fixes/no API changes, minor for new features/non-breaking changes, major for breaking changes)

Applied to files:

  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
📚 Learning: 2025-12-11T15:57:36.702Z
Learnt from: CR
Repo: woocommerce/woocommerce PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-12-11T15:57:36.702Z
Learning: Applies to plugins/woocommerce/includes/**/*.php : Legacy WordPress code in `includes/` directory should be modified minimally and only when necessary

Applied to files:

  • plugins/woocommerce/changelog/62499-remove-patched-edit-site-version
🔇 Additional comments (2)
plugins/woocommerce/changelog/62499-remove-patched-edit-site-version (1)

1-4: LGTM!

The changelog entry correctly documents the dependency change with appropriate significance (patch) and type (dev).

plugins/woocommerce/client/admin/package.json (1)

70-70: Version update aligns with WordPress 6.6 ecosystem.

The change from pinned version 5.15.0 to wp-6.6 brings @wordpress/edit-site in line with other WordPress packages in this file. Since the patch was specifically needed for CYS (removed in PR #61932), this update is safe and appropriate. Verification confirms no code references the previously patched exports (lock, unlock, setPage action).


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 17, 2025

Size Change: -70 B (0%)

Total Size: 5.94 MB

Filename Size Change
./plugins/woocommerce/client/admin/build/chunks/1751.js 0 B -1.59 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/1751.style-rtl.css 0 B -1.36 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/1751.style.css 0 B -1.36 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/2371.js 0 B -35.5 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/2371.style-rtl.css 0 B -5.33 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/2371.style.css 0 B -5.33 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/4713.js 0 B -2.63 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/5604.js 0 B -14 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/624.js 0 B -14.4 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/6417.js 0 B -1.63 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/6417.style-rtl.css 0 B -1.48 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/6417.style.css 0 B -1.48 kB (removed) 🏆
./plugins/woocommerce/client/admin/build/chunks/customize-store.js 11.1 kB -438 B (-3.8%)
./plugins/woocommerce/client/admin/build/chunks/3148.js 14.3 kB +14.3 kB (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/4241.js 1.63 kB +1.63 kB (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/4241.style-rtl.css 1.48 kB +1.48 kB (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/4241.style.css 1.48 kB +1.48 kB (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/5875.js 35.5 kB +35.5 kB (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/5875.style-rtl.css 5.33 kB +5.33 kB (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/5875.style.css 5.33 kB +5.33 kB (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/6208.js 14.2 kB +14.2 kB (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/6485.js 2.9 kB +2.9 kB (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/7311.js 1.59 kB +1.59 kB (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/7311.style-rtl.css 1.36 kB +1.36 kB (new file) 🆕
./plugins/woocommerce/client/admin/build/chunks/7311.style.css 1.36 kB +1.36 kB (new file) 🆕

compressed-size-action

@github-actions
Copy link
Contributor

github-actions bot commented Dec 17, 2025

Test using WordPress Playground

The changes in this pull request can be previewed and tested using a WordPress Playground instance.
WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Test this pull request with WordPress Playground.

Note that this URL is valid for 30 days from when this comment was last updated. You can update it by closing/reopening the PR or pushing a new commit.

Copy link
Contributor

@kmanijak kmanijak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we can do it just yet. The reason I didn't remove it is because Launch Your Store relies on @wordpress/edit-site/build-module/components/* imports and there's at least one journey impacted by bumping the version.

Try:

  1. Reset Launch Your Store journey if needed by Tools > WCA Test Helper > Tools > Reset Launch Your Store
  2. Go to Onboarding > Launch Your Store
  3. Open browsers dev console
  4. Click "Collect sales tax"

On trunk there's no error while on this branch there's an error:

Uncaught TypeError: navigate is not a function
    at handleClick (index.js:44:1)
    at Object.kj (react-dom.min.js?ver=18:223:217)
    at jj (react-dom.min.js?ver=18:34:117)
    at mj (react-dom.min.js?ver=18:34:171)
    at gh (react-dom.min.js?ver=18:62:93)
    at Xg (react-dom.min.js?ver=18:63:1)
    at react-dom.min.js?ver=18:72:332
    at Tf (react-dom.min.js?ver=18:189:448)
    at wg (react-dom.min.js?ver=18:32:481)
    at Ce (react-dom.min.js?ver=18:65:218)

pointing at @wordpress/edit-site internals.

This requires deeper look but I'd wary from removing this until we maybe revisit LYS flow and make sure we don't depend on built module (which obviously could've changed since). I didn't test fully LYS so there may be other gaps.

What we can do is try to remove patch itself but I don't think we can remove anchored version for now.

@kmanijak
Copy link
Contributor

But also a side comment: I'd consider removing or simplifying LYS flow similar to what we did with CYS. I personally consider extremely complex code-wise while compared to what functionality it actually offers. WDYT @tyxla , @sunyatasattva?

I have a feeling we could simplify it drastically and also get rid of tech debt for example by stopping relying on anchored WordPress dependency, etc.

@jorgeatorres jorgeatorres removed their request for review December 17, 2025 22:54
@dinhtungdu
Copy link
Member

simplifying LYS flow
I personally consider extremely complex code-wise while compared to what functionality it actually offers.

I'm second to these.

I'm a developer commenting on UX here, but the moment you click on 'Collect sales tax' or 'Select shipping options,' you're redirected to another screen with a different design, and I feel disconnected in the user flow, tbh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

focus: monorepo infrastructure Issues and PRs related to monorepo tooling. plugin: woocommerce Issues related to the WooCommerce Core plugin. type: dependencies Pull requests that update a dependency file (used by renovate).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CYS: update @wordpress/edit-site to latest version

4 participants