From 2fe505e25a154f1a083b1bfcc65694eb9b9a0867 Mon Sep 17 00:00:00 2001 From: lancewillett Date: Thu, 9 Aug 2012 18:20:25 +0000 Subject: [PATCH] Twenty Twelve: make twentytwelve_is_categorized_site() pluggable, see #21479. git-svn-id: http://core.svn.wordpress.org/trunk@21489 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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: