Fixed the default selected reports tab
This commit is contained in:
parent
21439c7e52
commit
3b66db369d
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
function woocommerce_reports() {
|
function woocommerce_reports() {
|
||||||
|
|
||||||
$current_tab = (isset($_GET['tab'])) ? $_GET['tab'] : 'sales';
|
$current_tab = (isset($_GET['tab'])) ? $_GET['tab'] : __('sales', 'woocommerce');
|
||||||
$current_chart = (isset($_GET['chart'])) ? $_GET['chart'] : 0;
|
$current_chart = (isset($_GET['chart'])) ? $_GET['chart'] : 0;
|
||||||
|
|
||||||
$charts = apply_filters('woocommerce_reports_charts', array(
|
$charts = apply_filters('woocommerce_reports_charts', array(
|
||||||
|
|
Loading…
Reference in New Issue