Changeset 24417 for trunk/wp-includes/comment-template.php
- Timestamp:
- 06/06/2013 03:31:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r24377 r24417 1507 1507 'reverse_top_level' => null, 1508 1508 'reverse_children' => '', 1509 'format' => 'xhtml', // or html51509 'format' => current_theme_supports( 'html5', 'comment-list' ) ? 'html5' : 'xhtml', 1510 1510 'short_ping' => false, 1511 1511 ); … … 1607 1607 $user_identity = $user->exists() ? $user->display_name : ''; 1608 1608 1609 if ( ! isset( $args['format'] ) ) 1610 $args['format'] = current_theme_supports( 'html5', 'comment-form' ) ? 'html5' : 'xhtml'; 1611 1609 1612 $req = get_option( 'require_name_email' ); 1610 1613 $aria_req = ( $req ? " aria-required='true'" : '' ); 1611 $html5 = isset( $args['format'] ) &&'html5' === $args['format'];1614 $html5 = 'html5' === $args['format']; 1612 1615 $fields = array( 1613 1616 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' .
Note: See TracChangeset
for help on using the changeset viewer.