Should be empty check

#11283
This commit is contained in:
Mike Jolley 2016-06-29 10:44:27 +01:00
parent 0780d94d0b
commit 01a2acabdc
1 changed files with 1 additions and 1 deletions

View File

@ -1432,7 +1432,7 @@ if ( ! function_exists( 'woocommerce_breadcrumb' ) ) {
$breadcrumbs = new WC_Breadcrumb();
if ( isset( $args['home'] ) ) {
if ( ! empty( $args['home'] ) ) {
$breadcrumbs->add_crumb( $args['home'], apply_filters( 'woocommerce_breadcrumb_home_url', home_url() ) );
}