Make WordPress Core

Ticket #44966: 44966-rev1.diff

File 44966-rev1.diff, 1.4 KB (added by wbrubaker, 6 years ago)

Revision 1 - changing indentation rather than removing p tags

  • src/wp-admin/includes/meta-boxes.php

    diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php
    index 84a36a8acc..f14e097ea6 100644
    a b function post_tags_meta_box( $post, $box ) { 
    511511        <?php if ( $user_can_assign_terms ) : ?>
    512512        <div class="ajaxtag hide-if-no-js">
    513513                <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->add_new_item; ?></label>
    514                 <p><input data-wp-taxonomy="<?php echo $tax_name; ?>" type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" aria-describedby="new-tag-<?php echo $tax_name; ?>-desc" value="" />
    515                 <input type="button" class="button tagadd" value="<?php esc_attr_e( 'Add' ); ?>" /></p>
     514        <input data-wp-taxonomy="<?php echo $tax_name; ?>" type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" aria-describedby="new-tag-<?php echo $tax_name; ?>-desc" value="" />
     515                <input type="button" class="button tagadd" value="<?php esc_attr_e( 'Add' ); ?>" />
    516516        </div>
    517517        <p class="howto" id="new-tag-<?php echo $tax_name; ?>-desc"><?php echo $taxonomy->labels->separate_items_with_commas; ?></p>
    518518        <?php elseif ( empty( $terms_to_edit ) ) : ?>