Ticket #26930: core-patch-3.8-theme-action-links.diff
| File core-patch-3.8-theme-action-links.diff, 1.3 KB (added by , 12 years ago) |
|---|
-
wp-admin/themes.php
301 301 <a class="button button-secondary hide-if-customize" href="{{{ data.actions.preview }}}"><?php _e( 'Preview' ); ?></a> 302 302 <# } #> 303 303 304 <?php do_action( 'tmpl-theme_actions', 'tmpl-theme' ); ?> 305 304 306 </div> 305 307 306 308 <# if ( data.hasUpdate ) { #> … … 354 356 <div class="active-theme"> 355 357 <a href="{{{ data.actions.customize }}}" class="button button-primary customize load-customize hide-if-no-customize"><?php _e( 'Customize' ); ?></a> 356 358 <?php echo implode( ' ', $current_theme_actions ); ?> 359 <?php do_action( 'tmpl-theme-single_actions', 'active' ); ?> 357 360 </div> 358 361 <div class="inactive-theme"> 359 362 <# if ( data.actions.activate ) { #> … … 361 364 <# } #> 362 365 <a href="{{{ data.actions.customize }}}" class="button button-secondary load-customize hide-if-no-customize"><?php _e( 'Live Preview' ); ?></a> 363 366 <a href="{{{ data.actions.preview }}}" class="button button-secondary hide-if-customize"><?php _e( 'Preview' ); ?></a> 367 <?php do_action( 'tmpl-theme-single_actions', 'inactive' ); ?> 364 368 </div> 365 369 366 370 <# if ( ! data.active && data.actions['delete'] ) { #>