forked from mirror/_s
Merge branch 'master' of github.com:Automattic/_s
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9022 d957f892-c61d-0410-b221-f235e6eecf30
This commit is contained in:
parent
792c8c3406
commit
fc97fbd34d
|
@ -25,7 +25,7 @@ add_filter( 'wp_page_menu_args', '_s_page_menu_args' );
|
||||||
* @since _s 1.0
|
* @since _s 1.0
|
||||||
*/
|
*/
|
||||||
function _s_body_classes( $classes ) {
|
function _s_body_classes( $classes ) {
|
||||||
// Adds a class of single-author to blogs with only 1 published author
|
// Adds a class of group-blog to blogs with more than 1 published author
|
||||||
if ( is_multi_author() ) {
|
if ( is_multi_author() ) {
|
||||||
$classes[] = 'group-blog';
|
$classes[] = 'group-blog';
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue