Changeset 29957
- Timestamp:
- 10/18/2014 06:16:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r29924 r29957 217 217 <?php } ?> 218 218 <?php } else { ?> 219 <a class="button button- primary activate" href="<?php echo $theme['actions']['activate']; ?>"><?php _e( 'Activate' ); ?></a>219 <a class="button button-secondary activate" href="<?php echo $theme['actions']['activate']; ?>"><?php _e( 'Activate' ); ?></a> 220 220 <?php if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { ?> 221 <a class="button button- secondary load-customize hide-if-no-customize" href="<?php echo $theme['actions']['customize']; ?>"><?php _e( 'Live Preview' ); ?></a>221 <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme['actions']['customize']; ?>"><?php _e( 'Live Preview' ); ?></a> 222 222 <a class="button button-secondary hide-if-customize" href="<?php echo $theme['actions']['preview']; ?>"><?php _e( 'Preview' ); ?></a> 223 223 <?php } ?> … … 315 315 <# } #> 316 316 <# } else { #> 317 <a class="button button- primary activate" href="{{{ data.actions.activate }}}"><?php _e( 'Activate' ); ?></a>318 <a class="button button- secondary load-customize hide-if-no-customize" href="{{{ data.actions.customize }}}"><?php _e( 'Live Preview' ); ?></a>317 <a class="button button-secondary activate" href="{{{ data.actions.activate }}}"><?php _e( 'Activate' ); ?></a> 318 <a class="button button-primary load-customize hide-if-no-customize" href="{{{ data.actions.customize }}}"><?php _e( 'Live Preview' ); ?></a> 319 319 <a class="button button-secondary hide-if-customize" href="{{{ data.actions.preview }}}"><?php _e( 'Preview' ); ?></a> 320 320 <# } #> … … 376 376 <div class="inactive-theme"> 377 377 <# if ( data.actions.activate ) { #> 378 <a href="{{{ data.actions.activate }}}" class="button button- primary activate"><?php _e( 'Activate' ); ?></a>379 <# } #> 380 <a href="{{{ data.actions.customize }}}" class="button button- secondary load-customize hide-if-no-customize"><?php _e( 'Live Preview' ); ?></a>378 <a href="{{{ data.actions.activate }}}" class="button button-secondary activate"><?php _e( 'Activate' ); ?></a> 379 <# } #> 380 <a href="{{{ data.actions.customize }}}" class="button button-primary load-customize hide-if-no-customize"><?php _e( 'Live Preview' ); ?></a> 381 381 <a href="{{{ data.actions.preview }}}" class="button button-secondary hide-if-customize"><?php _e( 'Preview' ); ?></a> 382 382 </div>
Note: See TracChangeset
for help on using the changeset viewer.