WordPress.org

Make WordPress Core

Ticket #31485: 31485.diff

File 31485.diff, 1.9 KB (added by welcher, 2 years ago)

Removes the taghint div and adjust css margin accordingly

  • wp-admin/css/edit.css

     
    10631063  13.0 - Tags 
    10641064------------------------------------------------------------------------------*/ 
    10651065 
    1066 .tagsdiv { 
    1067         margin-top: -8px; 
    1068 } 
    1069  
    10701066#poststuff .taghint { 
    10711067        color: #aaa; 
    10721068        margin: 15px 0 -24px 12px; 
  • wp-admin/includes/class-wp-press-this.php

     
    644644                                ?> 
    645645                                <div class="ajaxtag hide-if-no-js"> 
    646646                                        <label class="screen-reader-text" for="new-tag-post_tag"><?php _e( 'Tags' ); ?></label> 
    647                                         <div class="taghint"><?php echo $taxonomy->labels->add_new_item; ?></div> 
    648647                                        <p> 
    649648                                                <input type="text" id="new-tag-post_tag" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" /> 
    650649                                                <button type="button" class="button tagadd"><?php _e( 'Add' ); ?></button> 
  • wp-admin/includes/meta-boxes.php

     
    418418        <?php if ( $user_can_assign_terms ) : ?> 
    419419        <div class="ajaxtag hide-if-no-js"> 
    420420                <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label> 
    421                 <div class="taghint"><?php echo $taxonomy->labels->add_new_item; ?></div> 
    422421                <p><input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="" /> 
    423422                <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" /></p> 
    424423        </div>