Message info
 
To:wp-svn@lists.automattic.com From:m@wordpress.org Subject:[wp-svn] [20980] trunk/wp-admin/custom-header.php: Make the Skip Cropping button secondary. Date:Sat, 2 Jun 2012 16:57:10 +0000 (UTC)
 

Revision
20980
Author
ryan
Date
2012-06-02 16:57:10 +0000 (Sat, 02 Jun 2012)

Log Message

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

Modified Paths

Diff

Modified: trunk/wp-admin/custom-header.php (20979 => 20980)


--- trunk/wp-admin/custom-header.php	2012-06-02 01:58:27 UTC (rev 20979)
+++ trunk/wp-admin/custom-header.php	2012-06-02 16:57:10 UTC (rev 20980)
@@ -792,10 +792,11 @@
 	<?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>