Make WordPress Core

Ticket #26930: core-patch-3.8-theme-action-links.diff

File core-patch-3.8-theme-action-links.diff, 1.3 KB (added by georgestephanis, 12 years ago)
  • wp-admin/themes.php

     
    301301                <a class="button button-secondary hide-if-customize" href="{{{ data.actions.preview }}}"><?php _e( 'Preview' ); ?></a>
    302302        <# } #>
    303303
     304        <?php do_action( 'tmpl-theme_actions', 'tmpl-theme' ); ?>
     305
    304306        </div>
    305307
    306308        <# if ( data.hasUpdate ) { #>
     
    354356                        <div class="active-theme">
    355357                                <a href="{{{ data.actions.customize }}}" class="button button-primary customize load-customize hide-if-no-customize"><?php _e( 'Customize' ); ?></a>
    356358                                <?php echo implode( ' ', $current_theme_actions ); ?>
     359                                <?php do_action( 'tmpl-theme-single_actions', 'active' ); ?>
    357360                        </div>
    358361                        <div class="inactive-theme">
    359362                                <# if ( data.actions.activate ) { #>
     
    361364                                <# } #>
    362365                                <a href="{{{ data.actions.customize }}}" class="button button-secondary load-customize hide-if-no-customize"><?php _e( 'Live Preview' ); ?></a>
    363366                                <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' ); ?>
    364368                        </div>
    365369
    366370                        <# if ( ! data.active && data.actions['delete'] ) { #>