We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Prerequisites (mark completed items with an [x]):
Describe the bug
Caused by #28799
I am using an official WooCommerce filter to disable WooCommerce Admin in my site: add_filter( 'woocommerce_admin_disabled', '__return_true' );
add_filter( 'woocommerce_admin_disabled', '__return_true' );
After updating to WooCommerce 5.0, there is a fatal error on Reports page (the classic old reports):
Uncaught Error: Call to undefined function wc_admin_url() in /wp-content/plugins/woocommerce/includes/admin/views/html-admin-page-reports.php:17
Steps to reproduce the bug
Screenshots
Isolating the problem (mark completed items with an [x]):
WordPress Environment
WC Version: 5.0.0 WP Version: 5.6.1 PHP Version: 7.4.12
The text was updated successfully, but these errors were encountered:
Thanks for reporting. Fixed here 315c4de
Sorry, something went wrong.
When will you release this patch?
Fixed 17 days ago, but still not available. Any news on when 5.0.1 might be pushed live?
I'm guessing this won't make it into a 5.0.1 and we should expect a fix in 5.1.0 on 8th March?
Yes so the fix will be apart of the 5.1 version release slated to go out on March 9th. Sorry for the inconvenience.
No branches or pull requests
Prerequisites (mark completed items with an [x]):
Describe the bug
Caused by #28799
I am using an official WooCommerce filter to disable WooCommerce Admin in my site:
add_filter( 'woocommerce_admin_disabled', '__return_true' );
After updating to WooCommerce 5.0, there is a fatal error on Reports page (the classic old reports):
Uncaught Error: Call to undefined function wc_admin_url() in /wp-content/plugins/woocommerce/includes/admin/views/html-admin-page-reports.php:17
Steps to reproduce the bug
Screenshots
Isolating the problem (mark completed items with an [x]):
WordPress Environment
WC Version: 5.0.0
WP Version: 5.6.1
PHP Version: 7.4.12
The text was updated successfully, but these errors were encountered: