Make WordPress Core


Ignore:
Timestamp:
09/23/2012 05:42:46 PM (12 years ago)
Author:
nacin
Message:

Better alignment in the ustom fields metabox. props SergeyBiryukov, ocean90, fixes #21847.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r21944 r21955  
    493493
    494494    $r .= "\n\t\t<div class='submit'>";
    495     $r .= get_submit_button( __( 'Delete' ), "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta", "deletemeta[{$entry['meta_id']}]", false );
     495    $r .= get_submit_button( __( 'Delete' ), "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta small", "deletemeta[{$entry['meta_id']}]", false );
    496496    $r .= "\n\t\t";
    497     $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 );
     497    $r .= get_submit_button( __( 'Update' ), "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta small" , "meta-{$entry['meta_id']}-submit", false );
    498498    $r .= "</div>";
    499499    $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false );
     
    555555</tr>
    556556
    557 <tr><td colspan="2" class="submit">
     557<tr><td colspan="2">
     558<div class="submit">
    558559<?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta secondary', 'addmeta', false, array( 'id' => 'newmeta-submit' ) ); ?>
     560</div>
    559561<?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?>
    560562</td></tr>
Note: See TracChangeset for help on using the changeset viewer.