Ticket #40932: 40932.diff
File 40932.diff, 2.7 KB (added by , 7 years ago) |
---|
-
src/wp-admin/includes/meta-boxes.php
446 446 <div class="ajaxtag hide-if-no-js"> 447 447 <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->add_new_item; ?></label> 448 448 <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="" /> 449 <input type="button" class="button tagadd" value="<?php esc_attr_e(' Add'); ?>" /></p>449 <input type="button" class="button tagadd" value="<?php esc_attr_e('⏎'); ?>" /></p> 450 450 </div> 451 451 <p class="howto" id="new-tag-<?php echo $tax_name; ?>-desc"><?php echo $taxonomy->labels->separate_items_with_commas; ?></p> 452 452 <?php elseif ( empty( $terms_to_edit ) ): ?> -
src/wp-includes/class-wp-customize-control.php
605 605 <div class="new-content-item"> 606 606 <label for="create-input-<?php echo $this->id; ?>"><span class="screen-reader-text"><?php _e( 'New page title' ); ?></span></label> 607 607 <input type="text" id="create-input-<?php echo $this->id; ?>" class="create-item-input" placeholder="<?php esc_attr_e( 'New page title…' ); ?>"> 608 <button type="button" class="button add-content"><?php _e( ' Add' ); ?></button>608 <button type="button" class="button add-content"><?php _e( '⏎' ); ?></button> 609 609 </div> 610 610 <?php endif; 611 611 break; -
src/wp-includes/class-wp-customize-nav-menus.php
1007 1007 <?php if ( current_user_can( $post_type_obj->cap->create_posts ) && current_user_can( $post_type_obj->cap->publish_posts ) ) : ?> 1008 1008 <div class="new-content-item"> 1009 1009 <input type="text" class="create-item-input" placeholder="<?php echo esc_attr( $post_type_obj->labels->add_new_item ); ?>"> 1010 <button type="button" class="button add-content"><?php _e( 'Add' ); ?></button> 1010 <button type="button" class="button add-content"> 1011 <span class="screen-reader-text"><?php _e( 'Add' ); ?></span> 1012 </button> 1011 1013 </div> 1012 1014 <?php endif; ?> 1013 1015 <?php endif; ?>