-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Fix get_options function deprecation notice in WC 6.5 RC
#32891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ons to fix deprecation notice
rjchow
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Error is gone now
|
Hi @chihsuan, thanks for merging this pull request. Please take a look at these follow-up tasks you may need to perform:
|
|
I still have the deprecation warning error whaen using the importer in admin > products |
@GregoireSailland Are you using WC 6.6? |
|
@chihsuan Notice still seen in WooCommerce version: 7.7.0!! |
All Submissions:
Changes proposed in this Pull Request:
Closes #32863.
Looks like we deprecated the
get_optionsfunction in this PR and only allow API requests to fetch options inwoocommerce_permissionslist.The Reminder bar was added in #32320 and it fetch the
reminderBarHiddenOptionoption, but didn't add it towoocommerce_permissions.How to test the changes in this Pull Request:
pnpm nx build:zip woocommerceWC 6.5 RC: The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1Other information:
pnpm nx affected --target=changelog?FOR PR REVIEWER ONLY: