mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user