From edd37f3d2071c8933854704c345c736012355381 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 11 Sep 2014 10:49:56 +0100 Subject: [PATCH] Tweak - Display of locale information on system status page. Closes #6211 --- includes/admin/views/html-admin-page-status-report.php | 2 +- readme.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/admin/views/html-admin-page-status-report.php b/includes/admin/views/html-admin-page-status-report.php index 70ea2ad6c3e..909fd63624a 100644 --- a/includes/admin/views/html-admin-page-status-report.php +++ b/includes/admin/views/html-admin-page-status-report.php @@ -216,7 +216,7 @@ if ( ! defined( 'ABSPATH' ) ) { foreach ( $locale as $key => $val ) if ( in_array( $key, array( 'decimal_point', 'mon_decimal_point', 'thousands_sep', 'mon_thousands_sep' ) ) ) - echo '' . $key . ':' . $val . ''; + echo '' . $key . ':' . ( $val ? $val : __( 'N/A', 'woocommerce' ) ) . ''; ?> diff --git a/readme.txt b/readme.txt index 5b9953fd72c..e2647928e96 100644 --- a/readme.txt +++ b/readme.txt @@ -131,6 +131,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc == Changelog == * Fix - Order status translation in admin and account page. +* Tweak - Display of locale information on system status page. = 2.2.2 - 11/09/2014 = * Fix - Saving of variation stock when parent stock management is disabled.