Skip to content

Conversation

@woocommercebot
Copy link
Collaborator

This PR is a cherry-pick of #61802 to release/10.3.

Original PR Description

Changes proposed in this Pull Request:

We decided to remove the deprecation notices from script handles in #61669, however one was missed in this widget. This removes that extra notice for any plugins using accounting on the frontend.

How to test the changes in this Pull Request:

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

  1. Add this snippet to your site:
add_action('wp_enqueue_scripts', function() {
	wp_enqueue_script( 'accounting' );
});
  1. Check that your debug log has no deprecation notices

Testing that has already taken place:

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


Note

Removes the price filter widget’s accounting deprecation notice, refactors payments providers to drop LegacyProxy and tweak WooPayments onboarding (incl. experiment), and updates the Product Gallery block to “(Beta)” with a legacy rendering fallback plus small CSS/ARIA/test/documentation and email-editor changelog/version syncs.

  • Blocks/UI:
    • Product Gallery: Rename title to Product Gallery (Beta) in block.json; add temporary legacy rendering fallback in ProductGalleryLargeImage with corresponding legacy styles; adjust mobile/carousel CSS and pagination ARIA labels.
    • E2E tests: Update selectors/labels to Product Gallery (Beta) and verify behaviors accordingly.
  • Widget:
    • Remove accounting deprecation warning from WC_Widget_Price_Filter (drop shutdown hook); add changelog entry.
  • Payments (Admin Settings):
    • Remove LegacyProxy dependency from providers; instantiate providers directly in PaymentsProviders and PaymentGateway.
    • WooPayments: switch to direct class/static calls, refine onboarding URL params and add A/B test for live vs test-drive onboarding; simplify WPCOM connection state retrieval.
    • Update/expand unit tests and add WC_Payments_Utils mock for coverage.
  • Docs:
    • Refresh blocks reference (supports/ancestors), remove obsolete category description/title entries, and reflect Product Gallery “(Beta)”.
  • Email Editor:
    • Sync changelog/version (revert to 1.2.0) and add changefile to export personalization components.

Written by Cursor Bugbot for commit d22c291. This will update automatically on new commits. Configure here.

* Remove price filter widget accounting script deprecation notice

* Add changelog entry
@github-actions github-actions bot added this to the 10.3.0 milestone Nov 6, 2025
@github-actions github-actions bot added the plugin: woocommerce Issues related to the WooCommerce Core plugin. label Nov 6, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 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.

@jorgeatorres jorgeatorres merged commit 71940cd into release/10.3 Nov 10, 2025
44 checks passed
@jorgeatorres jorgeatorres deleted the cherry-pick-PR61802-to-release/10.3 branch November 10, 2025 13:46
@github-actions github-actions bot added the metric: feature freeze exception A tracking label for PRs that were merged after the feature freeze. label Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

metric: feature freeze exception A tracking label for PRs that were merged after the feature freeze. plugin: woocommerce Issues related to the WooCommerce Core plugin.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants