WooCommerce选项已经消失
使用WooCommerce的WordPress多源之一遇到了一些麻烦。最新升级到最新WP和最新版本的WooCommerce
Woo版本= 6.4.0 之后,此问题才刚刚开始发生。 WordPress版本= 5.9.3
请注意,这不是权限问题,因为我们实际上可以添加
edit.php?post_type = shop_order之
类的东西到管理URL的末尾并访问订单页面等。因此,它是100%而不是用户 - 级别的问题。
我还做了一堆建议,其中包括关闭插件以检查冲突。仍然什么都没有。我还多次删除和重新安装了Woo,但仍然没有。
有谁知道我是否可以编写迫使它起作用的代码?我知道使用functions.php我们可以从左侧隐藏特定的菜单项,但是有没有办法有可能强迫显示WooCommerce选项?
屏幕附加以说明丢失的位置。
谢谢, glen
Having a little bit of trouble with one of our Wordpress Multisites that uses WooCommerce. This issue has only just started occurring after the latest upgrade to Latest WP and latest version of WooCommerce
Woo Version = 6.4.0
Wordpress Version = 5.9.3
Note that this is not a permissions issue as we can actually add things like
edit.php?post_type=shop_order
to the end of the admin URL and gain access to order pages etc. So it's 100% not a user-level problem.
I have also done a bunch of suggestions which include turning off plugins to check conflicts. Still nothing. I have also deleted and reinstalled woo manually several times and still nothing.
Does anyone know if I could potentially write a piece of code that would force this to work? I know with functions.php we can hide specific menu items from the left-hand side but is there a way we could potentially force to show the woocommerce option?
Screen attached to explain where it is missing.
Thanks,
Glen
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最新的WooCommerce版本发生了变化。
对于当前修复程序,您可以在行号上更改菜单核心文件55至'55 .5':64
woocommerce/inclation/admin/class/class/class-wc-admin-menus.php
There is a change in the latest woocommerce version.
For the current fix, You can change menu core file 55 to '55.5' on line number: 64
woocommerce/includes/admin/class-wc-admin-menus.php