diff --git a/wp-content/themes/twentyeleven/functions.php b/wp-content/themes/twentyeleven/functions.php index 5095bf063d..82237642cf 100644 --- a/wp-content/themes/twentyeleven/functions.php +++ b/wp-content/themes/twentyeleven/functions.php @@ -375,7 +375,8 @@ add_filter( 'get_the_excerpt', 'twentyeleven_custom_excerpt_more' ); * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. */ function twentyeleven_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', 'twentyeleven_page_menu_args' ); diff --git a/wp-content/themes/twentyten/functions.php b/wp-content/themes/twentyten/functions.php index 35d6563d13..67be12ccd5 100644 --- a/wp-content/themes/twentyten/functions.php +++ b/wp-content/themes/twentyten/functions.php @@ -224,7 +224,8 @@ endif; * @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' ); diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 6f8757707d..deddfc4c38 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -190,7 +190,8 @@ add_filter( 'wp_title', 'twentytwelve_wp_title', 10, 2 ); * @since Twenty Twelve 1.0 */ function twentytwelve_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', 'twentytwelve_page_menu_args' );