From ced74a6194b182a9ea5cd1b642ab3f9d688786a4 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 9 Aug 2012 18:20:25 +0000 Subject: [PATCH] Twenty Twelve: make twentytwelve_is_categorized_site() pluggable, see #21479. git-svn-id: https://develop.svn.wordpress.org/trunk@21489 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentytwelve/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 9379f9310b..eb49588f65 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -332,6 +332,7 @@ function twentytwelve_entry_meta() { } endif; +if ( ! function_exists( 'twentytwelve_is_categorized_site' ) ) : /** * Returns true if a blog has more than one category. * @@ -347,6 +348,7 @@ function twentytwelve_is_categorized_site() { return true; } +endif; /** * Extends the default WordPress body class to denote: