Skip to content

Commit

Permalink
fix: yoast seo causing fatal error in single store page is fixed #754 (
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonh3 authored Feb 6, 2020
1 parent ffe302e commit 1713296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Rewrites.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function store_page_breadcrumb( $crumbs ) {
return $crumbs;
}

if ( function_exists( 'yoast_breadcrumb' ) && WPSEO_Options::get( 'breadcrumbs-enable' ) ) {
if ( function_exists( 'yoast_breadcrumb' ) && \WPSEO_Options::get( 'breadcrumbs-enable' ) ) {
unset( $crumbs );
return;
}
Expand Down

0 comments on commit 1713296

Please sign in to comment.