Changeset 19582 for trunk/wp-content/themes/twentyeleven/functions.php
- Timestamp:
- 12/10/2011 07:18:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/functions.php
r19289 r19582 568 568 esc_html( get_the_date() ), 569 569 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 570 sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ),571 esc_html( get_the_author())570 esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ), 571 get_the_author() 572 572 ); 573 573 } … … 583 583 function twentyeleven_body_classes( $classes ) { 584 584 585 if ( ! is_multi_author() ) {585 if ( function_exists( 'is_multi_author' ) && ! is_multi_author() ) 586 586 $classes[] = 'single-author'; 587 }588 587 589 588 if ( is_singular() && ! is_home() && ! is_page_template( 'showcase.php' ) && ! is_page_template( 'sidebar-page.php' ) )
Note: See TracChangeset
for help on using the changeset viewer.