Skip to content

Commit

Permalink
fixed home_url for Front Page item (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
andronic90 authored and moldcraft committed Aug 29, 2016
1 parent 15e2985 commit da40c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-breadcrumbs-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private function build_breadcrumbs() {
$return = array(
0 => array(
'name' => $this->settings['labels']['homepage-title'],
'url' => home_url(),
'url' => esc_url( home_url('/') ),
'type' => 'front_page'
),
);
Expand Down

0 comments on commit da40c7e

Please sign in to comment.