Make WordPress Core

Ticket #44966: 44966-rev2.diff

File 44966-rev2.diff, 1.4 KB (added by wbrubaker, 5 years ago)

rev 1 was not correct. trying again

  • 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..b4a9f4cbcb 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                <p>
     515                        <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="" />
     516                        <input type="button" class="button tagadd" value="<?php esc_attr_e( 'Add' ); ?>" />
     517                </p>
    516518        </div>
    517519        <p class="howto" id="new-tag-<?php echo $tax_name; ?>-desc"><?php echo $taxonomy->labels->separate_items_with_commas; ?></p>
    518520        <?php elseif ( empty( $terms_to_edit ) ) : ?>