Make WordPress Core

Changeset 14689


Ignore:
Timestamp:
05/16/2010 06:38:58 AM (15 years ago)
Author:
nacin
Message:

Use p instead of definition list for allowed tags in comment_form(). props demetris. Style the new markup in Twenty Ten. see #10910.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/style.css

    r14511 r14689  
    10621062    width:98%;
    10631063}
    1064 #respond dt,
    1065 #respond dd {
     1064#respond .form-allowed-tags {
    10661065    color: #888;
    10671066    font-size: 12px;
    10681067    line-height: 18px;
    10691068}
    1070 #respond dd code {
     1069#respond .form-allowed-tags code {
    10711070    font-size: 11px;
    10721071}
  • trunk/wp-includes/comment-template.php

    r14538 r14689  
    15101510        'logged_in_as'         => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',
    15111511        'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>',
    1512         'comment_notes_after'  => '<dl class="form-allowed-tags"><dt>' . __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:' ) . '</dt> <dd><code>' . allowed_tags() . '</code></dd></dl>',
     1512        'comment_notes_after'  => '<p class="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>',
    15131513        'id_form'              => 'commentform',
    15141514        'id_submit'            => 'submit',
Note: See TracChangeset for help on using the changeset viewer.