Merge pull request #4150 from kloon/fix_api_timezone_fatal_error
Fix api timezone fatal error
This commit is contained in:
commit
65c465f451
|
@ -424,7 +424,7 @@ class WC_API_Server {
|
|||
'URL' => get_option( 'siteurl' ),
|
||||
'routes' => array(),
|
||||
'meta' => array(
|
||||
'timezone' => $this->get_timezone(),
|
||||
'timezone' => woocommerce_timezone_string(),
|
||||
'currency' => get_woocommerce_currency(),
|
||||
'money_format' => get_woocommerce_currency_symbol(),
|
||||
'tax_included' => ( 'yes' === get_option( 'woocommerce_prices_include_tax' ) ),
|
||||
|
|
Loading…
Reference in New Issue