WordPress.org

Make WordPress Core

Changeset 21618


Ignore:
Timestamp:
08/25/2012 05:16:56 PM (9 years ago)
Author:
lancewillett
Message:

Twenty Twelve: review and clean up end-of-element HTML comments. Props obenland for starter patch. Closes #21675.

Location:
trunk/wp-content/themes/twentytwelve
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/404.php

    r21404 r21618  
    2525
    2626        </div><!-- #content -->
    27     </div><!-- #primary .site-content -->
     27    </div><!-- #primary -->
    2828
    2929<?php get_footer(); ?>
  • trunk/wp-content/themes/twentytwelve/archive.php

    r21404 r21618  
    5050                    }
    5151                ?>
    52             </header><!-- /. archive-header -->
     52            </header><!-- .archive-header -->
    5353
    5454            <?php
     
    7272
    7373        </div><!-- #content -->
    74     </section><!-- #primary .site-content -->
     74    </section><!-- #primary -->
    7575
    7676<?php get_sidebar(); ?>
  • trunk/wp-content/themes/twentytwelve/author.php

    r21464 r21618  
    2727            <header class="archive-header">
    2828                <h1 class="archive-title"><?php printf( __( 'Author Archives: %s', 'twentytwelve' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
    29             </header>
     29            </header><!-- .archive-header -->
    3030
    3131            <?php
     
    6565
    6666        </div><!-- #content -->
    67     </section><!-- #primary .site-content -->
     67    </section><!-- #primary -->
    6868
    6969<?php get_sidebar(); ?>
  • trunk/wp-content/themes/twentytwelve/content-aside.php

    r21369 r21618  
    1515            <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>
    1616        </div><!-- .entry-content -->
    17     </div>
     17    </div><!-- .aside -->
    1818
    1919    <footer class="entry-meta">
  • trunk/wp-content/themes/twentytwelve/content-none.php

    r21261 r21618  
    1212            <header class="entry-header">
    1313                <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1>
    14             </header><!-- .entry-header -->
     14            </header>
    1515
    1616            <div class="entry-content">
  • trunk/wp-content/themes/twentytwelve/content-page.php

    r21261 r21618  
    1212    <header class="entry-header">
    1313        <h1 class="entry-title"><?php the_title(); ?></h1>
    14     </header><!-- .entry-header -->
     14    </header>
    1515
    1616    <div class="entry-content">
  • trunk/wp-content/themes/twentytwelve/footer.php

    r21404 r21618  
    33 * The template for displaying the footer.
    44 *
    5  * Contains the closing of the id=main div and all content after
     5 * Contains footer content and the closing of the
     6 * #main and #page div elements.
    67 *
    78 * @package WordPress
     
    1718        </div><!-- .site-info -->
    1819    </footer><!-- #colophon -->
    19 </div><!-- #page .site -->
     20</div><!-- #page -->
    2021
    2122<?php wp_footer(); ?>
  • trunk/wp-content/themes/twentytwelve/full-width-page.php

    r21404 r21618  
    1919
    2020        </div><!-- #content -->
    21     </div><!-- #primary .site-content -->
     21    </div><!-- #primary -->
    2222
    2323<?php get_footer(); ?>
  • trunk/wp-content/themes/twentytwelve/functions.php

    r21617 r21618  
    290290                    );
    291291                ?>
    292             </header>
     292            </header><!-- .comment-meta -->
    293293
    294294            <?php if ( '0' == $comment->comment_approved ) : ?>
     
    296296            <?php endif; ?>
    297297
    298             <section class="comment comment-content">
     298            <section class="comment-content comment">
    299299                <?php comment_text(); ?>
    300300                <?php edit_comment_link( __( 'Edit', 'twentytwelve' ), '<p class="edit-link">', '</p>' ); ?>
    301             </section>
     301            </section><!-- .comment-content -->
    302302
    303303            <div class="reply">
  • trunk/wp-content/themes/twentytwelve/header.php

    r21611 r21618  
    4040            <div class="skip-link assistive-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a></div>
    4141            <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
    42         </nav>
     42        </nav><!-- #site-navigation -->
    4343
    4444        <?php $header_image = get_header_image();
  • trunk/wp-content/themes/twentytwelve/homepage.php

    r21404 r21618  
    1414
    1515            <?php while ( have_posts() ) : the_post(); ?>
    16                 <?php if ( has_post_thumbnail() ) { ?>
     16                <?php if ( has_post_thumbnail() ) : ?>
    1717                    <div class="entry-page-image">
    1818                        <?php the_post_thumbnail(); ?>
    19                     </div>
    20                 <?php } ?>
     19                    </div><!-- .entry-page-image -->
     20                <?php endif; ?>
    2121
    2222                <?php get_template_part( 'content', 'page' ); ?>
     
    2525
    2626        </div><!-- #content -->
    27     </div><!-- #primary .site-content -->
     27    </div><!-- #primary -->
    2828
    2929<?php get_sidebar( 'home' ); ?>
  • trunk/wp-content/themes/twentytwelve/image.php

    r21404 r21618  
    9898
    9999        </div><!-- #content -->
    100     </div><!-- #primary .site-content -->
     100    </div><!-- #primary -->
    101101
    102102<?php get_footer(); ?>
  • trunk/wp-content/themes/twentytwelve/index.php

    r21404 r21618  
    3636                <header class="entry-header">
    3737                    <h1 class="entry-title"><?php _e( 'No posts to display', 'twentytwelve' ); ?></h1>
    38                 </header><!-- .entry-header -->
     38                </header>
    3939
    4040                <div class="entry-content">
     
    4747                <header class="entry-header">
    4848                    <h1 class="entry-title"><?php _e( 'Nothing found', 'twentytwelve' ); ?></h1>
    49                 </header><!-- .entry-header -->
     49                </header>
    5050
    5151                <div class="entry-content">
     
    6060
    6161        </div><!-- #content -->
    62     </div><!-- #primary .site-content -->
     62    </div><!-- #primary -->
    6363
    6464<?php get_sidebar(); ?>
  • trunk/wp-content/themes/twentytwelve/page.php

    r21404 r21618  
    2424
    2525        </div><!-- #content -->
    26     </div><!-- #primary .site-content -->
     26    </div><!-- #primary -->
    2727
    2828<?php get_sidebar(); ?>
  • trunk/wp-content/themes/twentytwelve/search.php

    r21404 r21618  
    3333                <header class="entry-header">
    3434                    <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1>
    35                 </header><!-- .entry-header -->
     35                </header>
    3636
    3737                <div class="entry-content">
     
    4444
    4545        </div><!-- #content -->
    46     </section><!-- #primary .site-content -->
     46    </section><!-- #primary -->
    4747
    4848<?php get_sidebar(); ?>
  • trunk/wp-content/themes/twentytwelve/sidebar-home.php

    r21617 r21618  
    2525    <div class="first home-widgets">
    2626        <?php dynamic_sidebar( 'sidebar-2' ); ?>
    27     </div><!-- .first .home-widgets -->
     27    </div><!-- .first -->
    2828    <?php endif; ?>
    2929
     
    3131    <div class="second home-widgets">
    3232        <?php dynamic_sidebar( 'sidebar-3' ); ?>
    33     </div><!-- .second .home-widgets -->
     33    </div><!-- .second -->
    3434    <?php endif; ?>
    35 </div><!-- #secondary .widget-area -->
     35</div><!-- #secondary -->
  • trunk/wp-content/themes/twentytwelve/sidebar.php

    r21617 r21618  
    1414        <div id="secondary" class="widget-area" role="complementary">
    1515            <?php dynamic_sidebar( 'sidebar-1' ); ?>
    16         </div><!-- #secondary .widget-area -->
     16        </div><!-- #secondary -->
    1717    <?php endif; ?>
  • trunk/wp-content/themes/twentytwelve/single.php

    r21404 r21618  
    3232
    3333        </div><!-- #content -->
    34     </div><!-- #primary .site-content -->
     34    </div><!-- #primary -->
    3535
    3636<?php get_sidebar(); ?>
Note: See TracChangeset for help on using the changeset viewer.