Skip to content

Commit

Permalink
Probably fix to erroneous property error for $parent_id in the breadc…
Browse files Browse the repository at this point in the history
…rumbs.php
  • Loading branch information
Frumph committed Aug 31, 2016
1 parent 525d61c commit 0e06b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/breadcrumbs.php
Expand Up @@ -50,7 +50,7 @@ function comicpress_breadcrumbs() {
$link_in_after = '</span>'; $link_in_after = '</span>';
$link = $link_before . '<a href="%1$s"' . $link_attr . '>' . $link_in_before . '%2$s' . $link_in_after . '</a>' . $link_after; $link = $link_before . '<a href="%1$s"' . $link_attr . '>' . $link_in_before . '%2$s' . $link_in_after . '</a>' . $link_after;
$frontpage_id = get_option('page_on_front'); $frontpage_id = get_option('page_on_front');
$parent_id = $post->post_parent; $parent_id = (!empty($post)) ? $post->post_parent : false;
$sep = ' ' . $sep_before . $sep . $sep_after . ' '; $sep = ' ' . $sep_before . $sep . $sep_after . ' ';


if (is_home() || is_front_page()) { if (is_home() || is_front_page()) {
Expand Down

0 comments on commit 0e06b61

Please sign in to comment.