WordPress.org

Make WordPress Core

Ticket #20815: 20815.diff

File 20815.diff, 752 bytes (added by nacin, 6 years ago)
  • wp-admin/custom-header.php

     
    792792        <?php } ?>
    793793        <?php wp_nonce_field( 'custom-header-crop-image' ) ?>
    794794
    795         <p class="submit"><?php
    796         submit_button( __( 'Crop and Publish' ), 'primary', 'submit', false );
     795        <p class="submit">
     796        <?php submit_button( __( 'Crop and Publish' ), 'primary', 'submit', false ); ?>
     797        <?php
    797798        if ( isset( $oitar ) && 1 == $oitar )
    798                 submit_button( __( 'Skip Cropping, Use Image as Is' ), 'primary', 'skip-cropping', false );
     799                submit_button( __( 'Skip Cropping, Use Image as Is' ), 'secondary', 'skip-cropping', false );
    799800        ?>
    800801        </p>
    801802</form>