-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
[Navigation Feature] Remove code strategically #48997
Comments
Does the reference to "WooCommerce Navigation" in woocommerce/docs/extension-development/working-with-woocommerce-admin-pages.md Lines 62 to 64 in 8b35b07
Also, should we keep the code like this https://github.com/woocommerce/woocommerce/blob/8b35b0785c761bda0b90188ade462c83af5b3643/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php#L122:L138 in place for some longer support? |
Thanks @tomalec, yes that is the one that was removed. Thanks for surfacing.
Good find as well, this can be safely removed. I can't think of a reason why "Payments" would need to be added once again if the option is set to |
Instead of going through a deprecation process, we could remove the code functionality all at once and keep the classes like \Automattic\WooCommerce\Admin\Features\Navigation\Menu intact with dummy functions that return nothing, or maybe a notice. The default would be the current experience. Add a Tracks event in there and we’ll know for sure if anyone is actually using this feature.
The text was updated successfully, but these errors were encountered: