Merge pull request #1043 from IanDelMar/patch-7

Fix typo
This commit is contained in:
UnderstrapFramework 2019-12-13 11:16:42 +00:00 committed by GitHub
commit cf100502d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -102,10 +102,10 @@ if ( ! function_exists( 'understrap_categorized_blog' ) ) {
set_transient( 'understrap_categories', $all_the_cool_cats ); set_transient( 'understrap_categories', $all_the_cool_cats );
} }
if ( $all_the_cool_cats > 1 ) { if ( $all_the_cool_cats > 1 ) {
// This blog has more than 1 category so components_categorized_blog should return true. // This blog has more than 1 category so understrap_categorized_blog should return true.
return true; return true;
} else { } else {
// This blog has only 1 category so components_categorized_blog should return false. // This blog has only 1 category so understrap_categorized_blog should return false.
return false; return false;
} }
} }