Make WordPress Core

Ticket #31546: 31546.patch

File 31546.patch, 2.4 KB (added by afercia, 12 years ago)
  • src/wp-admin/includes/class-wp-press-this.php

     
    353353                if ( ! is_string( $url ) ) {
    354354                        return '';
    355355                }
    356                
     356
    357357                $url = $this->_limit_string( $url );
    358358
    359359                // HTTP 1.1 allows 8000 chars but the "de-facto" standard supported in all current browsers is 2048.
    … …  
    470470                                        break;
    471471                        }
    472472                }
    473                
     473
    474474                return $data;
    475475        }
    476476
    … …  
    821821                                <div class="ajaxtag hide-if-no-js">
    822822                                        <label class="screen-reader-text" for="new-tag-post_tag"><?php _e( 'Tags' ); ?></label>
    823823                                        <p>
    824                                                 <input type="text" id="new-tag-post_tag" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
     824                                                <input type="text" id="new-tag-post_tag" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" aria-describedby="new-tag-desc" />
    825825                                                <button type="button" class="button tagadd"><?php _e( 'Add' ); ?></button>
    826826                                        </p>
    827827                                </div>
    828                                 <p class="howto">
     828                                <p class="howto" id="new-tag-desc">
    829829                                        <?php echo $taxonomy->labels->separate_items_with_commas; ?>
    830830                                </p>
    831831                        <?php } ?>
  • src/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                 <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="" />
     421                <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="" aria-describedby="new-tag-desc" />
    422422                <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" /></p>
    423423        </div>
    424         <p class="howto"><?php echo $taxonomy->labels->separate_items_with_commas; ?></p>
     424        <p class="howto" id="new-tag-desc"><?php echo $taxonomy->labels->separate_items_with_commas; ?></p>
    425425        <?php endif; ?>
    426426        </div>
    427427        <div class="tagchecklist"></div>