Make the Skip Cropping button secondary. Props SergeyBiryukov, nacin. fixes #20815

git-svn-id: https://develop.svn.wordpress.org/trunk@20980 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2012-06-02 16:57:10 +00:00
parent 1699318343
commit 43b69d6996
1 changed files with 4 additions and 3 deletions

View File

@ -792,10 +792,11 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
<?php } ?>
<?php wp_nonce_field( 'custom-header-crop-image' ) ?>
<p class="submit"><?php
submit_button( __( 'Crop and Publish' ), 'primary', 'submit', false );
<p class="submit">
<?php submit_button( __( 'Crop and Publish' ), 'primary', 'submit', false ); ?>
<?php
if ( isset( $oitar ) && 1 == $oitar )
submit_button( __( 'Skip Cropping, Use Image as Is' ), 'primary', 'skip-cropping', false );
submit_button( __( 'Skip Cropping, Publish Image as Is' ), 'secondary', 'skip-cropping', false );
?>
</p>
</form>