WordPress.org

Make WordPress Core

Ticket #43945: patch_corrected.diff

File patch_corrected.diff, 1.1 KB (added by itowhid06, 2 years ago)

previous patch wasn't correct. sorry.

  • wp-includes/customize/class-wp-customize-theme-control.php

    diff --git a/wp-includes/customize/class-wp-customize-theme-control.php b/wp-includes/customize/class-wp-customize-theme-control.php
    index 13b803ac60..6b86ce84de 100644
    a b class WP_Customize_Theme_Control extends WP_Customize_Control { 
    117117                                <div class="theme-id-container">
    118118                                        <h3 class="theme-name" id="{{ data.section }}-{{ data.theme.id }}-name">{{ data.theme.name }}</h3>
    119119                                        <div class="theme-actions">
    120                                                 <button type="button" class="button button-primary preview-theme" aria-label="<?php echo esc_attr( $preview_label ); ?>" data-slug="{{ data.theme.id }}"><?php _e( 'Live Preview' ); ?></span>
     120                                                <button type="button" class="button button-primary preview-theme" aria-label="<?php echo esc_attr( $preview_label ); ?>" data-slug="{{ data.theme.id }}"><?php _e( 'Live Preview' ); ?></button>
    121121                                        </div>
    122122                                </div>
    123123                                <div class="notice notice-success notice-alt"><p><?php _ex( 'Installed', 'theme' ); ?></p></div>