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
This commit is contained in:
parent
34056f4c03
commit
2fe505e25a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue