WordPress.org

Make WordPress Core

Changeset 20980


Ignore:
Timestamp:
06/02/12 16:57:10 (23 months ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-header.php

    r20966 r20980  
    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, Publish Image as Is' ), 'secondary', 'skip-cropping', false ); 
    799800    ?> 
    800801    </p> 
Note: See TracChangeset for help on using the changeset viewer.