WordPress.org

Make WordPress Core

Ticket #13692: class-nopassword-use-p.diff

File class-nopassword-use-p.diff, 696 bytes (added by zeo, 9 years ago)

Use p element instead of div for class name nopassword.

  • wp-content/themes/twentyten/comments.php

     
    1515
    1616                        <div id="comments">
    1717<?php if ( post_password_required() ) : ?>
    18                                 <div class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></div>
     18                                <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></p>
    1919                        </div><!-- #comments -->
    2020<?php
    2121                /* Stop the rest of comments.php from being processed,