Make WordPress Core


Ignore:
Timestamp:
03/08/2018 07:41:29 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Customize: Correct closing tags in customize_themes_print_templates().

Props johnpgreen, nandorsky.
Merges [42711] to the 4.9 branch.
Fixes #43307.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-admin/includes/theme.php

    r42006 r42803  
    688688            <div class="theme-actions">
    689689                <# if ( data.active ) { #>
    690                     <button type="button" class="button button-primary customize-theme"><?php _e( 'Customize' ); ?></a>
     690                    <button type="button" class="button button-primary customize-theme"><?php _e( 'Customize' ); ?></button>
    691691                <# } else if ( 'installed' === data.type ) { #>
    692692                    <?php if ( current_user_can( 'delete_themes' ) ) { ?>
     
    695695                        <# } #>
    696696                    <?php } ?>
    697                     <button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live Preview' ); ?></span>
     697                    <button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live Preview' ); ?></button>
    698698                <# } else { #>
    699699                    <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.