diff -r f507feede89a -r 09a1c134465b web/wp-content/themes/twentyten/functions.php --- a/web/wp-content/themes/twentyten/functions.php Wed Dec 19 12:35:13 2012 -0800 +++ b/web/wp-content/themes/twentyten/functions.php Wed Dec 19 17:46:52 2012 -0800 @@ -115,9 +115,9 @@ // Callback for styling the header preview in the admin. 'admin-head-callback' => 'twentyten_admin_header_style', ); - + add_theme_support( 'custom-header', $custom_header_support ); - + if ( ! function_exists( 'get_custom_header' ) ) { // This is all for compatibility with versions of WordPress prior to 3.4. define( 'HEADER_TEXTCOLOR', '' ); @@ -224,7 +224,8 @@ * @since Twenty Ten 1.0 */ function twentyten_page_menu_args( $args ) { - $args['show_home'] = true; + if ( ! isset( $args['show_home'] ) ) + $args['show_home'] = true; return $args; } add_filter( 'wp_page_menu_args', 'twentyten_page_menu_args' ); @@ -243,6 +244,7 @@ } add_filter( 'excerpt_length', 'twentyten_excerpt_length' ); +if ( ! function_exists( 'twentyten_continue_reading_link' ) ) : /** * Returns a "Continue Reading" link for excerpts * @@ -252,6 +254,7 @@ function twentyten_continue_reading_link() { return ' ' . __( 'Continue reading '; } +endif; /** * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and twentyten_continue_reading_link(). @@ -330,28 +333,28 @@ ?> ', 'twentyten' ) . '
- +
+ -