Ticket #20744: submit-typo.patch
| File submit-typo.patch, 2.3 KB (added by tollmanz, 12 months ago) |
|---|
-
wp-admin/includes/meta-boxes.php
356 356 <?php echo $tax->labels->parent_item_colon; ?> 357 357 </label> 358 358 <?php wp_dropdown_categories( array( 'taxonomy' => $taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '— ' . $tax->labels->parent_item . ' —', 'tab_index' => 3 ) ); ?> 359 <input type="button" id="<?php echo $taxonomy; ?>-add-submit" class="add:<?php echo $taxonomy ?>checklist:<?php echo $taxonomy ?>-add button category-add-su mbit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" />359 <input type="button" id="<?php echo $taxonomy; ?>-add-submit" class="add:<?php echo $taxonomy ?>checklist:<?php echo $taxonomy ?>-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" /> 360 360 <?php wp_nonce_field( 'add-'.$taxonomy, '_ajax_nonce-add-'.$taxonomy, false ); ?> 361 361 <span id="<?php echo $taxonomy; ?>-ajax-response"></span> 362 362 </p> -
wp-admin/press-this.php
524 524 <?php echo $tax->labels->parent_item_colon; ?> 525 525 </label> 526 526 <?php wp_dropdown_categories( array( 'taxonomy' => 'category', 'hide_empty' => 0, 'name' => 'newcategory_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '— ' . $tax->labels->parent_item . ' —', 'tab_index' => 3 ) ); ?> 527 <input type="button" id="category-add-submit" class="add:categorychecklist:category-add button category-add-su mbit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" />527 <input type="button" id="category-add-submit" class="add:categorychecklist:category-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" /> 528 528 <?php wp_nonce_field( 'add-category', '_ajax_nonce-add-category', false ); ?> 529 529 <span id="category-ajax-response"></span> 530 530 </p>
