-
diff --git src/wp-content/themes/twentyeleven/404.php src/wp-content/themes/twentyeleven/404.php
index 2dc9998c1d..c07c70fa07 100644
|
|
|
get_header(); ?>
|
| 14 | 14 | |
| 15 | 15 | <article id="post-0" class="post error404 not-found"> |
| 16 | 16 | <header class="entry-header"> |
| 17 | | <h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn’t it?', 'twentyeleven' ); ?></h1> |
| | 17 | <h1 class="entry-title"><?php esc_html_e( 'This is somewhat embarrassing, isn’t it?', 'twentyeleven' ); ?></h1> |
| 18 | 18 | </header> |
| 19 | 19 | |
| 20 | 20 | <div class="entry-content"> |
| 21 | | <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.', 'twentyeleven' ); ?></p> |
| | 21 | <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.', 'twentyeleven' ); ?></p> |
| 22 | 22 | |
| 23 | 23 | <?php get_search_form(); ?> |
| 24 | 24 | |
| 25 | 25 | <?php the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ), array( 'widget_id' => '404' ) ); ?> |
| 26 | 26 | |
| 27 | 27 | <div class="widget"> |
| 28 | | <h2 class="widgettitle"><?php _e( 'Most Used Categories', 'twentyeleven' ); ?></h2> |
| | 28 | <h2 class="widgettitle"><?php esc_html_e( 'Most Used Categories', 'twentyeleven' ); ?></h2> |
| 29 | 29 | <ul> |
| 30 | 30 | <?php |
| 31 | 31 | wp_list_categories( |
-
diff --git src/wp-content/themes/twentyeleven/archive.php src/wp-content/themes/twentyeleven/archive.php
index a21e626b70..7e36e139ae 100644
|
|
|
get_header(); ?>
|
| 32 | 32 | /* translators: %s: Date. */ |
| 33 | 33 | printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' ); |
| 34 | 34 | } else { |
| 35 | | _e( 'Blog Archives', 'twentyeleven' ); |
| | 35 | esc_html_e( 'Blog Archives', 'twentyeleven' ); |
| 36 | 36 | } |
| 37 | 37 | ?> |
| 38 | 38 | </h1> |
| … |
… |
get_header(); ?>
|
| 64 | 64 | |
| 65 | 65 | <article id="post-0" class="post no-results not-found"> |
| 66 | 66 | <header class="entry-header"> |
| 67 | | <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| | 67 | <h1 class="entry-title"><?php esc_html_e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| 68 | 68 | </header><!-- .entry-header --> |
| 69 | 69 | |
| 70 | 70 | <div class="entry-content"> |
| 71 | | <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p> |
| | 71 | <p><?php esc_html_e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p> |
| 72 | 72 | <?php get_search_form(); ?> |
| 73 | 73 | </div><!-- .entry-content --> |
| 74 | 74 | </article><!-- #post-0 --> |
-
diff --git src/wp-content/themes/twentyeleven/author.php src/wp-content/themes/twentyeleven/author.php
index ad2117324f..033bd6f170 100644
|
|
|
get_header(); ?>
|
| 99 | 99 | |
| 100 | 100 | <article id="post-0" class="post no-results not-found"> |
| 101 | 101 | <header class="entry-header"> |
| 102 | | <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| | 102 | <h1 class="entry-title"><?php esc_html_e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| 103 | 103 | </header><!-- .entry-header --> |
| 104 | 104 | |
| 105 | 105 | <div class="entry-content"> |
| 106 | | <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p> |
| | 106 | <p><?php esc_html_e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p> |
| 107 | 107 | <?php get_search_form(); ?> |
| 108 | 108 | </div><!-- .entry-content --> |
| 109 | 109 | </article><!-- #post-0 --> |
-
diff --git src/wp-content/themes/twentyeleven/category.php src/wp-content/themes/twentyeleven/category.php
index e9bc2e7052..ed6a8b61c5 100644
|
|
|
get_header(); ?>
|
| 63 | 63 | |
| 64 | 64 | <article id="post-0" class="post no-results not-found"> |
| 65 | 65 | <header class="entry-header"> |
| 66 | | <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| | 66 | <h1 class="entry-title"><?php esc_html_e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| 67 | 67 | </header><!-- .entry-header --> |
| 68 | 68 | |
| 69 | 69 | <div class="entry-content"> |
| 70 | | <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p> |
| | 70 | <p><?php esc_html_e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p> |
| 71 | 71 | <?php get_search_form(); ?> |
| 72 | 72 | </div><!-- .entry-content --> |
| 73 | 73 | </article><!-- #post-0 --> |
-
diff --git src/wp-content/themes/twentyeleven/comments.php src/wp-content/themes/twentyeleven/comments.php
index 0787c43b22..23bf0e3111 100644
|
|
|
|
| 14 | 14 | ?> |
| 15 | 15 | <div id="comments"> |
| 16 | 16 | <?php if ( post_password_required() ) : ?> |
| 17 | | <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></p> |
| | 17 | <p class="nopassword"><?php esc_html_e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></p> |
| 18 | 18 | </div><!-- #comments --> |
| 19 | 19 | <?php |
| 20 | 20 | /* |
| … |
… |
|
| 50 | 50 | |
| 51 | 51 | <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> |
| 52 | 52 | <nav id="comment-nav-above"> |
| 53 | | <h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1> |
| | 53 | <h1 class="assistive-text"><?php esc_html_e( 'Comment navigation', 'twentyeleven' ); ?></h1> |
| 54 | 54 | <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyeleven' ) ); ?></div> |
| 55 | 55 | <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyeleven' ) ); ?></div> |
| 56 | 56 | </nav> |
| … |
… |
|
| 71 | 71 | |
| 72 | 72 | <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> |
| 73 | 73 | <nav id="comment-nav-below"> |
| 74 | | <h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1> |
| | 74 | <h1 class="assistive-text"><?php esc_html_e( 'Comment navigation', 'twentyeleven' ); ?></h1> |
| 75 | 75 | <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyeleven' ) ); ?></div> |
| 76 | 76 | <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyeleven' ) ); ?></div> |
| 77 | 77 | </nav> |
| … |
… |
|
| 84 | 84 | */ |
| 85 | 85 | if ( ! comments_open() && get_comments_number() ) : |
| 86 | 86 | ?> |
| 87 | | <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyeleven' ); ?></p> |
| | 87 | <p class="nocomments"><?php esc_html_e( 'Comments are closed.', 'twentyeleven' ); ?></p> |
| 88 | 88 | <?php endif; ?> |
| 89 | 89 | |
| 90 | 90 | <?php endif; // have_comments() ?> |
-
diff --git src/wp-content/themes/twentyeleven/content-aside.php src/wp-content/themes/twentyeleven/content-aside.php
index 03dd772249..c115f84733 100644
|
|
|
|
| 16 | 16 | <header class="entry-header"> |
| 17 | 17 | <hgroup> |
| 18 | 18 | <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> |
| 19 | | <h3 class="entry-format"><?php _e( 'Aside', 'twentyeleven' ); ?></h3> |
| | 19 | <h3 class="entry-format"><?php esc_html_e( 'Aside', 'twentyeleven' ); ?></h3> |
| 20 | 20 | </hgroup> |
| 21 | 21 | |
| 22 | 22 | <?php if ( comments_open() && ! post_password_required() ) : ?> |
-
diff --git src/wp-content/themes/twentyeleven/content-gallery.php src/wp-content/themes/twentyeleven/content-gallery.php
index 9ecb7073b1..31cf92b717 100644
|
|
|
|
| 16 | 16 | <header class="entry-header"> |
| 17 | 17 | <hgroup> |
| 18 | 18 | <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> |
| 19 | | <h3 class="entry-format"><?php _e( 'Gallery', 'twentyeleven' ); ?></h3> |
| | 19 | <h3 class="entry-format"><?php esc_html_e( 'Gallery', 'twentyeleven' ); ?></h3> |
| 20 | 20 | </hgroup> |
| 21 | 21 | |
| 22 | 22 | <div class="entry-meta"> |
| … |
… |
|
| 107 | 107 | <span class="sep"> | </span> |
| 108 | 108 | <?php endif; // End if $show_sep. ?> |
| 109 | 109 | <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> |
| 110 | | <?php endif; // End if comments_open(). ?> |
| | 110 | <?php endif; ?> |
| 111 | 111 | |
| 112 | 112 | <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> |
| 113 | 113 | </footer><!-- .entry-meta --> |
-
diff --git src/wp-content/themes/twentyeleven/content-image.php src/wp-content/themes/twentyeleven/content-image.php
index c404733014..78450d2269 100644
|
|
|
|
| 15 | 15 | <header class="entry-header"> |
| 16 | 16 | <hgroup> |
| 17 | 17 | <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> |
| 18 | | <h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3> |
| | 18 | <h3 class="entry-format"><?php esc_html_e( 'Image', 'twentyeleven' ); ?></h3> |
| 19 | 19 | </hgroup> |
| 20 | 20 | |
| 21 | 21 | <?php if ( comments_open() && ! post_password_required() ) : ?> |
-
diff --git src/wp-content/themes/twentyeleven/content-link.php src/wp-content/themes/twentyeleven/content-link.php
index 2f30a85e3f..81a69db612 100644
|
|
|
|
| 16 | 16 | <header class="entry-header"> |
| 17 | 17 | <hgroup> |
| 18 | 18 | <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> |
| 19 | | <h3 class="entry-format"><?php _e( 'Link', 'twentyeleven' ); ?></h3> |
| | 19 | <h3 class="entry-format"><?php esc_html_e( 'Link', 'twentyeleven' ); ?></h3> |
| 20 | 20 | </hgroup> |
| 21 | 21 | |
| 22 | 22 | <?php if ( comments_open() && ! post_password_required() ) : ?> |
-
diff --git src/wp-content/themes/twentyeleven/content-quote.php src/wp-content/themes/twentyeleven/content-quote.php
index 3dc531b8ad..33d6b9cb35 100644
|
|
|
|
| 12 | 12 | <header class="entry-header"> |
| 13 | 13 | <hgroup> |
| 14 | 14 | <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> |
| 15 | | <h3 class="entry-format"><?php _e( 'Quote', 'twentyeleven' ); ?></h3> |
| | 15 | <h3 class="entry-format"><?php esc_html_e( 'Quote', 'twentyeleven' ); ?></h3> |
| 16 | 16 | </hgroup> |
| 17 | 17 | |
| 18 | 18 | <div class="entry-meta"> |
| … |
… |
|
| 83 | 83 | <span class="sep"> | </span> |
| 84 | 84 | <?php endif; // End if $show_sep. ?> |
| 85 | 85 | <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> |
| 86 | | <?php endif; // End if comments_open(). ?> |
| | 86 | <?php endif; ?> |
| 87 | 87 | |
| 88 | 88 | <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> |
| 89 | 89 | </footer><!-- .entry-meta --> |
-
diff --git src/wp-content/themes/twentyeleven/content-status.php src/wp-content/themes/twentyeleven/content-status.php
index 60a1e4d9ba..1206a0b653 100644
|
|
|
|
| 16 | 16 | <header class="entry-header"> |
| 17 | 17 | <hgroup> |
| 18 | 18 | <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> |
| 19 | | <h3 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h3> |
| | 19 | <h3 class="entry-format"><?php esc_html_e( 'Status', 'twentyeleven' ); ?></h3> |
| 20 | 20 | </hgroup> |
| 21 | 21 | |
| 22 | 22 | <?php if ( comments_open() && ! post_password_required() ) : ?> |
-
diff --git src/wp-content/themes/twentyeleven/content.php src/wp-content/themes/twentyeleven/content.php
index f6294d2ab7..b52e8ab86e 100644
|
|
|
|
| 13 | 13 | <?php if ( is_sticky() ) : ?> |
| 14 | 14 | <hgroup> |
| 15 | 15 | <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> |
| 16 | | <h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3> |
| | 16 | <h3 class="entry-format"><?php esc_html_e( 'Featured', 'twentyeleven' ); ?></h3> |
| 17 | 17 | </hgroup> |
| 18 | 18 | <?php else : ?> |
| 19 | 19 | <h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1> |
| … |
… |
|
| 66 | 66 | $show_sep = true; |
| 67 | 67 | ?> |
| 68 | 68 | </span> |
| 69 | | <?php endif; // End if categories. ?> |
| 70 | | <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'category' ). ?> |
| | 69 | <?php endif; ?> |
| | 70 | <?php endif; ?> |
| 71 | 71 | |
| 72 | 72 | <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported. ?> |
| 73 | 73 | <?php |
| … |
… |
|
| 85 | 85 | $show_sep = true; |
| 86 | 86 | ?> |
| 87 | 87 | </span> |
| 88 | | <?php endif; // End if $tags_list. ?> |
| 89 | | <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ). ?> |
| | 88 | <?php endif; ?> |
| | 89 | <?php endif; ?> |
| 90 | 90 | |
| 91 | 91 | <?php if ( comments_open() ) : ?> |
| 92 | 92 | <?php if ( $show_sep ) : ?> |
| 93 | 93 | <span class="sep"> | </span> |
| 94 | 94 | <?php endif; // End if $show_sep. ?> |
| 95 | 95 | <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> |
| 96 | | <?php endif; // End if comments_open(). ?> |
| | 96 | <?php endif; ?> |
| 97 | 97 | |
| 98 | 98 | <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> |
| 99 | 99 | </footer><!-- .entry-meta --> |
-
diff --git src/wp-content/themes/twentyeleven/functions.php src/wp-content/themes/twentyeleven/functions.php
index 7dc3bf52ef..6761b8f729 100644
|
|
|
if ( ! function_exists( 'twentyeleven_setup' ) ) :
|
| 288 | 288 | // Indicate widget sidebars can use selective refresh in the Customizer. |
| 289 | 289 | add_theme_support( 'customize-selective-refresh-widgets' ); |
| 290 | 290 | } |
| 291 | | endif; // twentyeleven_setup() |
| | 291 | endif; |
| 292 | 292 | |
| 293 | 293 | /** |
| 294 | 294 | * Enqueue scripts and styles for front end. |
| … |
… |
if ( ! function_exists( 'twentyeleven_header_style' ) ) :
|
| 351 | 351 | </style> |
| 352 | 352 | <?php |
| 353 | 353 | } |
| 354 | | endif; // twentyeleven_header_style() |
| | 354 | endif; |
| 355 | 355 | |
| 356 | 356 | if ( ! function_exists( 'twentyeleven_admin_header_style' ) ) : |
| 357 | 357 | /** |
| … |
… |
if ( ! function_exists( 'twentyeleven_admin_header_style' ) ) :
|
| 401 | 401 | </style> |
| 402 | 402 | <?php |
| 403 | 403 | } |
| 404 | | endif; // twentyeleven_admin_header_style() |
| | 404 | endif; |
| 405 | 405 | |
| 406 | 406 | if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) : |
| 407 | 407 | /** |
| … |
… |
if ( ! function_exists( 'twentyeleven_admin_header_image' ) ) :
|
| 431 | 431 | </div> |
| 432 | 432 | <?php |
| 433 | 433 | } |
| 434 | | endif; // twentyeleven_admin_header_image() |
| | 434 | endif; |
| 435 | 435 | |
| 436 | 436 | /** |
| 437 | 437 | * Set the post excerpt length to 40 words. |
| … |
… |
if ( ! function_exists( 'twentyeleven_continue_reading_link' ) ) :
|
| 461 | 461 | function twentyeleven_continue_reading_link() { |
| 462 | 462 | return ' <a href="' . esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) . '</a>'; |
| 463 | 463 | } |
| 464 | | endif; // twentyeleven_continue_reading_link() |
| | 464 | endif; |
| 465 | 465 | |
| 466 | 466 | /** |
| 467 | 467 | * Replace "[...]" in the Read More link with an ellipsis. |
| … |
… |
if ( ! function_exists( 'twentyeleven_content_nav' ) ) :
|
| 605 | 605 | if ( $wp_query->max_num_pages > 1 ) : |
| 606 | 606 | ?> |
| 607 | 607 | <nav id="<?php echo esc_attr( $html_id ); ?>"> |
| 608 | | <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3> |
| | 608 | <h3 class="assistive-text"><?php esc_html_e( 'Post navigation', 'twentyeleven' ); ?></h3> |
| 609 | 609 | <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentyeleven' ) ); ?></div> |
| 610 | 610 | <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></div> |
| 611 | 611 | </nav><!-- #nav-above --> |
| 612 | 612 | <?php |
| 613 | 613 | endif; |
| 614 | 614 | } |
| 615 | | endif; // twentyeleven_content_nav() |
| | 615 | endif; |
| 616 | 616 | |
| 617 | 617 | /** |
| 618 | 618 | * Return the first link from the post content. If none found, the |
| … |
… |
if ( ! function_exists( 'twentyeleven_comment' ) ) :
|
| 712 | 712 | case 'trackback': |
| 713 | 713 | ?> |
| 714 | 714 | <li class="post pingback"> |
| 715 | | <p><?php _e( 'Pingback:', 'twentyeleven' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?></p> |
| | 715 | <p><?php esc_html_e( 'Pingback:', 'twentyeleven' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?></p> |
| 716 | 716 | <?php |
| 717 | 717 | break; |
| 718 | 718 | default: |
| … |
… |
if ( ! function_exists( 'twentyeleven_comment' ) ) :
|
| 785 | 785 | break; |
| 786 | 786 | endswitch; |
| 787 | 787 | } |
| 788 | | endif; // twentyeleven_comment() |
| | 788 | endif; |
| 789 | 789 | |
| 790 | 790 | if ( ! function_exists( 'twentyeleven_posted_on' ) ) : |
| 791 | 791 | /** |
-
diff --git src/wp-content/themes/twentyeleven/header.php src/wp-content/themes/twentyeleven/header.php
index 62d9b344dd..4d91641c18 100644
|
|
|
|
| 8 | 8 | * @subpackage Twenty_Eleven |
| 9 | 9 | * @since Twenty Eleven 1.0 |
| 10 | 10 | */ |
| | 11 | |
| | 12 | global $post; |
| | 13 | |
| 11 | 14 | ?><!DOCTYPE html> |
| 12 | 15 | <!--[if IE 6]> |
| 13 | 16 | <html id="ie6" <?php language_attributes(); ?>> |
| … |
… |
if ( is_singular() && get_option( 'thread_comments' ) ) {
|
| 145 | 148 | <?php endif; ?> |
| 146 | 149 | |
| 147 | 150 | <nav id="access"> |
| 148 | | <h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3> |
| | 151 | <h3 class="assistive-text"><?php esc_html_e( 'Main menu', 'twentyeleven' ); ?></h3> |
| 149 | 152 | <?php |
| 150 | 153 | /* |
| 151 | 154 | * Our navigation menu. If one isn't filled out, wp_nav_menu() falls back to wp_page_menu(). |
-
diff --git src/wp-content/themes/twentyeleven/index.php src/wp-content/themes/twentyeleven/index.php
index a4a7c04f18..9066201e0f 100644
|
|
|
get_header(); ?>
|
| 37 | 37 | |
| 38 | 38 | <article id="post-0" class="post no-results not-found"> |
| 39 | 39 | <header class="entry-header"> |
| 40 | | <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| | 40 | <h1 class="entry-title"><?php esc_html_e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| 41 | 41 | </header><!-- .entry-header --> |
| 42 | 42 | |
| 43 | 43 | <div class="entry-content"> |
| 44 | | <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p> |
| | 44 | <p><?php esc_html_e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p> |
| 45 | 45 | <?php get_search_form(); ?> |
| 46 | 46 | </div><!-- .entry-content --> |
| 47 | 47 | </article><!-- #post-0 --> |
-
diff --git src/wp-content/themes/twentyeleven/search.php src/wp-content/themes/twentyeleven/search.php
index f7902d35f0..d0501bfaa4 100644
|
|
|
get_header(); ?>
|
| 49 | 49 | |
| 50 | 50 | <article id="post-0" class="post no-results not-found"> |
| 51 | 51 | <header class="entry-header"> |
| 52 | | <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| | 52 | <h1 class="entry-title"><?php esc_html_e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| 53 | 53 | </header><!-- .entry-header --> |
| 54 | 54 | |
| 55 | 55 | <div class="entry-content"> |
| 56 | | <p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyeleven' ); ?></p> |
| | 56 | <p><?php esc_html_e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyeleven' ); ?></p> |
| 57 | 57 | <?php get_search_form(); ?> |
| 58 | 58 | </div><!-- .entry-content --> |
| 59 | 59 | </article><!-- #post-0 --> |
-
diff --git src/wp-content/themes/twentyeleven/searchform.php src/wp-content/themes/twentyeleven/searchform.php
index bd8cdca1b4..047aff0f9f 100644
|
|
|
|
| 8 | 8 | */ |
| 9 | 9 | ?> |
| 10 | 10 | <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>"> |
| 11 | | <label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label> |
| | 11 | <label for="s" class="assistive-text"><?php esc_html_e( 'Search', 'twentyeleven' ); ?></label> |
| 12 | 12 | <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" /> |
| 13 | 13 | <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" /> |
| 14 | 14 | </form> |
-
diff --git src/wp-content/themes/twentyeleven/showcase.php src/wp-content/themes/twentyeleven/showcase.php
index c867b830d9..9db28cc81f 100644
|
|
|
get_header(); ?>
|
| 80 | 80 | ?> |
| 81 | 81 | |
| 82 | 82 | <div class="featured-posts"> |
| 83 | | <h1 class="showcase-heading"><?php _e( 'Featured Post', 'twentyeleven' ); ?></h1> |
| | 83 | <h1 class="showcase-heading"><?php esc_html_e( 'Featured Post', 'twentyeleven' ); ?></h1> |
| 84 | 84 | |
| 85 | 85 | <?php |
| 86 | 86 | // Let's roll. |
| … |
… |
get_header(); ?>
|
| 173 | 173 | <?php endif; // End check for sticky posts. ?> |
| 174 | 174 | |
| 175 | 175 | <section class="recent-posts"> |
| 176 | | <h1 class="showcase-heading"><?php _e( 'Recent Posts', 'twentyeleven' ); ?></h1> |
| | 176 | <h1 class="showcase-heading"><?php esc_html_e( 'Recent Posts', 'twentyeleven' ); ?></h1> |
| 177 | 177 | |
| 178 | 178 | <?php |
| 179 | 179 | |
-
diff --git src/wp-content/themes/twentyeleven/sidebar.php src/wp-content/themes/twentyeleven/sidebar.php
index 6dbc7c5461..bc37d9aa61 100644
|
|
|
if ( 'content' !== $current_layout ) :
|
| 16 | 16 | <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?> |
| 17 | 17 | |
| 18 | 18 | <aside id="archives" class="widget"> |
| 19 | | <h3 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h3> |
| | 19 | <h3 class="widget-title"><?php esc_html_e( 'Archives', 'twentyeleven' ); ?></h3> |
| 20 | 20 | <ul> |
| 21 | 21 | <?php wp_get_archives( array( 'type' => 'monthly' ) ); ?> |
| 22 | 22 | </ul> |
| 23 | 23 | </aside> |
| 24 | 24 | |
| 25 | 25 | <aside id="meta" class="widget"> |
| 26 | | <h3 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h3> |
| | 26 | <h3 class="widget-title"><?php esc_html_e( 'Meta', 'twentyeleven' ); ?></h3> |
| 27 | 27 | <ul> |
| 28 | 28 | <?php wp_register(); ?> |
| 29 | 29 | <li><?php wp_loginout(); ?></li> |
-
diff --git src/wp-content/themes/twentyeleven/single.php src/wp-content/themes/twentyeleven/single.php
index 186bb378d8..bde18bba35 100644
|
|
|
get_header(); ?>
|
| 18 | 18 | ?> |
| 19 | 19 | |
| 20 | 20 | <nav id="nav-single"> |
| 21 | | <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3> |
| | 21 | <h3 class="assistive-text"><?php esc_html_e( 'Post navigation', 'twentyeleven' ); ?></h3> |
| 22 | 22 | <span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">←</span> Previous', 'twentyeleven' ) ); ?></span> |
| 23 | 23 | <span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></span> |
| 24 | 24 | </nav><!-- #nav-single --> |
-
diff --git src/wp-content/themes/twentyeleven/tag.php src/wp-content/themes/twentyeleven/tag.php
index 23517622f0..0388b8f839 100644
|
|
|
get_header(); ?>
|
| 63 | 63 | |
| 64 | 64 | <article id="post-0" class="post no-results not-found"> |
| 65 | 65 | <header class="entry-header"> |
| 66 | | <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| | 66 | <h1 class="entry-title"><?php esc_html_e( 'Nothing Found', 'twentyeleven' ); ?></h1> |
| 67 | 67 | </header><!-- .entry-header --> |
| 68 | 68 | |
| 69 | 69 | <div class="entry-content"> |
| 70 | | <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p> |
| | 70 | <p><?php esc_html_e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p> |
| 71 | 71 | <?php get_search_form(); ?> |
| 72 | 72 | </div><!-- .entry-content --> |
| 73 | 73 | </article><!-- #post-0 --> |