When SHOP_IS_ON_FRONT set is_front_page to true

This commit is contained in:
Mike Jolley 2012-06-20 20:02:26 +01:00
parent 023ee52246
commit 552484e248
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class WC_Query {
$q->is_singular = false;
$q->is_post_type_archive = true;
$q->is_archive = true;
$q->is_front_page = true;
define( 'SHOP_IS_ON_FRONT', true );
} else {

View File

@ -174,6 +174,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
* Fix - Allow translating of # in order numbers
* Fix - Make United States label in JS translatable, as it might change
* Fix - Zero tax check in totals.php
* Fix - When SHOP_IS_ON_FRONT set is_front_page to true
= 1.5.7.1 - 14/06/2012 =
* Fix - Saving Mijireh settings bug