X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/99a64b9fd0d5ebb21c33c3a0b5865e9c412b430c..5aa86a9053fb0fa15846bb60aac2fb8fdfff524a:/wp-content/themes/twentyten/functions.php?ds=inline diff --git a/wp-content/themes/twentyten/functions.php b/wp-content/themes/twentyten/functions.php index 36f55066..5fd5d3ef 100644 --- a/wp-content/themes/twentyten/functions.php +++ b/wp-content/themes/twentyten/functions.php @@ -88,10 +88,10 @@ function twentyten_setup() { // Make theme available for translation // Translations can be filed in the /languages/ directory - load_theme_textdomain( 'twentyten', TEMPLATEPATH . '/languages' ); + load_theme_textdomain( 'twentyten', get_template_directory() . '/languages' ); $locale = get_locale(); - $locale_file = TEMPLATEPATH . "/languages/$locale.php"; + $locale_file = get_template_directory() . "/languages/$locale.php"; if ( is_readable( $locale_file ) ) require_once( $locale_file ); @@ -473,7 +473,7 @@ function twentyten_posted_on() { ), sprintf( '%3$s', get_author_posts_url( get_the_author_meta( 'ID' ) ), - sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ), + esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ), get_the_author() ) );