Make WordPress Core

Changeset 42711


Ignore:
Timestamp:
02/13/2018 10:14:36 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Customize: Correct closing tags in customize_themes_print_templates().

Props johnpgreen, nandorsky.
Fixes #43307.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/theme.php

    r42632 r42711  
    745745            <div class="theme-actions">
    746746                <# if ( data.active ) { #>
    747                     <button type="button" class="button button-primary customize-theme"><?php _e( 'Customize' ); ?></a>
     747                    <button type="button" class="button button-primary customize-theme"><?php _e( 'Customize' ); ?></button>
    748748                <# } else if ( 'installed' === data.type ) { #>
    749749                    <?php if ( current_user_can( 'delete_themes' ) ) { ?>
     
    752752                        <# } #>
    753753                    <?php } ?>
    754                     <button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live Preview' ); ?></span>
     754                    <button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live Preview' ); ?></button>
    755755                <# } else { #>
    756756                    <button type="button" class="button theme-install" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></button>
Note: See TracChangeset for help on using the changeset viewer.