Proper button heights on the custom header and background pages. props johnbillion. fixes #22385.
git-svn-id: https://develop.svn.wordpress.org/trunk@22462 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b7e9155e33
commit
e2f0bcf510
|
@ -260,7 +260,7 @@ if ( get_background_image() ) {
|
||||||
<input type="file" id="upload" name="import" />
|
<input type="file" id="upload" name="import" />
|
||||||
<input type="hidden" name="action" value="save" />
|
<input type="hidden" name="action" value="save" />
|
||||||
<?php wp_nonce_field( 'custom-background-upload', '_wpnonce-custom-background-upload' ); ?>
|
<?php wp_nonce_field( 'custom-background-upload', '_wpnonce-custom-background-upload' ); ?>
|
||||||
<?php submit_button( __( 'Upload' ), 'small', 'submit', false ); ?>
|
<?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?>
|
||||||
</p>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
$image_library_url = get_upload_iframe_src( 'image', null, 'library' );
|
$image_library_url = get_upload_iframe_src( 'image', null, 'library' );
|
||||||
|
|
|
@ -531,7 +531,7 @@ class Custom_Image_Header {
|
||||||
<input type="file" id="upload" name="import" />
|
<input type="file" id="upload" name="import" />
|
||||||
<input type="hidden" name="action" value="save" />
|
<input type="hidden" name="action" value="save" />
|
||||||
<?php wp_nonce_field( 'custom-header-upload', '_wpnonce-custom-header-upload' ); ?>
|
<?php wp_nonce_field( 'custom-header-upload', '_wpnonce-custom-header-upload' ); ?>
|
||||||
<?php submit_button( __( 'Upload' ), 'small', 'submit', false ); ?>
|
<?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?>
|
||||||
</p>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
$image_library_url = get_upload_iframe_src( 'image', null, 'library' );
|
$image_library_url = get_upload_iframe_src( 'image', null, 'library' );
|
||||||
|
|
Loading…
Reference in New Issue