WordPress.org

Make WordPress Core

Ticket #13383: newpost.valid.patch

File newpost.valid.patch, 1.4 KB (added by ocean90, 8 years ago)
  • wp-admin/includes/meta-boxes.php

     
    255255        <div class="jaxtag">
    256256        <div class="nojs-tags hide-if-js">
    257257        <p><?php echo $help_nojs; ?></p>
    258         <textarea name="<?php echo "tax_input[$tax_name]"; ?>" class="the-tags" id="tax-input[<?php echo $tax_name; ?>]" <?php echo $disabled; ?>><?php echo esc_attr(get_terms_to_edit( $post->ID, $tax_name )); ?></textarea></div>
     258        <textarea name="<?php echo "tax_input[$tax_name]"; ?>" rows="3" cols="20" class="the-tags" id="tax-input-<?php echo $tax_name; ?>" <?php echo $disabled; ?>><?php echo esc_attr(get_terms_to_edit( $post->ID, $tax_name )); ?></textarea></div>
    259259        <?php if ( current_user_can($taxonomy->cap->assign_terms) ) : ?>
    260260        <div class="ajaxtag hide-if-no-js">
    261261                <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label>
  • wp-includes/user.php

     
    614614                if ( $multi && ! $id )
    615615                        $id = '';
    616616                else
    617                         $id = $id ? " id='" . esc_attr( $id ) . "'" : "id='$name'";
     617                        $id = $id ? " id='" . esc_attr( $id ) . "'" : " id='$name'";
    618618
    619619                $output = "<select name='{$name}'{$id} class='$class'>\n";
    620620