diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 2029e962c1..760c113237 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -240,15 +240,17 @@ if ( ! function_exists( 'twentytwelve_content_nav' ) ) : * * @since Twenty Twelve 1.0 */ -function twentytwelve_content_nav( $nav_id ) { +function twentytwelve_content_nav( $html_id ) { global $wp_query; + $html_id = esc_attr( $html_id ); + if ( $wp_query->max_num_pages > 1 ) : ?> -