Ticket #21847: 21847.patch
File 21847.patch, 2.2 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/template.php
491 491 $r .= "\n\t\t<td class='left'><label class='screen-reader-text' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' type='text' size='20' value='{$entry['meta_key']}' />"; 492 492 493 493 $r .= "\n\t\t<div class='submit'>"; 494 $r .= get_submit_button( __( 'Delete' ), " delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta", "deletemeta[{$entry['meta_id']}]", false );494 $r .= get_submit_button( __( 'Delete' ), "small delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta", "deletemeta[{$entry['meta_id']}]", false ); 495 495 $r .= "\n\t\t"; 496 $r .= get_submit_button( __( 'Update' ), " add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta" , "meta-{$entry['meta_id']}-submit", false );496 $r .= get_submit_button( __( 'Update' ), "small add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta" , "meta-{$entry['meta_id']}-submit", false ); 497 497 $r .= "</div>"; 498 498 $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false ); 499 499 $r .= "</td>"; … … 1638 1638 */ 1639 1639 function get_submit_button( $text = null, $type = 'primary', $name = 'submit', $wrap = true, $other_attributes = null ) { 1640 1640 if ( ! is_array( $type ) ) 1641 $type = explode( ' ', $type ); 1641 $type = explode( ' ', $type ); 1642 1642 1643 1643 $button_shorthand = array( 'primary', 'tiny', 'small', 'large' ); 1644 1644 $classes = array( 'button' ); -
wp-admin/css/wp-admin.css
3191 3191 border-spacing: 0; 3192 3192 } 3193 3193 3194 #postcustomstuff tr { 3195 vertical-align: top; 3196 } 3197 3194 3198 #postcustomstuff table input, 3195 3199 #postcustomstuff table select, 3196 3200 #postcustomstuff table textarea { … … 3208 3212 width: auto; 3209 3213 } 3210 3214 3211 #postcustomstuff #newmetaleft {3212 vertical-align: top;3213 }3214 3215 3215 #postcustomstuff #newmetaleft a { 3216 3216 padding: 0 10px; 3217 3217 text-decoration: none;