Make WordPress Core

Ticket #33757: 33757.patch

File 33757.patch, 1.6 KB (added by joedolson, 9 years ago)

Proposed patch using fieldset/legend

  • wp-admin/css/list-tables.css

     
    166166        text-align: center;
    167167}
    168168
    169 #replyrow h5 {
     169#replyrow legend {
    170170        margin: .2em 0 0;
    171171        padding: 0 5px;
    172172        line-height: 1.4em;
    173173        font-size: 1em;
     174        font-weight: 600;
    174175}
    175176
    176177#edithead .inside,
  • wp-admin/includes/template.php

     
    494494<?php else : ?>
    495495<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
    496496<?php endif; ?>
    497         <div id="replyhead" style="display:none;"><h5><?php _e( 'Reply to Comment' ); ?></h5></div>
    498         <div id="addhead" style="display:none;"><h5><?php _e('Add new Comment'); ?></h5></div>
     497        <fieldset>
     498        <legend id="replyhead" style="display:none;"><?php _e( 'Reply to Comment' ); ?></legend>
     499        <legend id="addhead" style="display:none;"><?php _e('Add new Comment'); ?></legend>
    499500        <div id="edithead" style="display:none;">
    500501                <div class="inside">
    501502                <label for="author"><?php _e('Name') ?></label>
     
    520521        wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) );
    521522        ?>
    522523        </div>
    523 
     524        </fieldset>
    524525        <p id="replysubmit" class="submit">
    525526        <a href="#comments-form" class="save button-primary alignright">
    526527        <span id="addbtn" style="display:none;"><?php _e('Add Comment'); ?></span>