Make WordPress Core

Ticket #31782: 31782.diff

File 31782.diff, 661 bytes (added by mattwiebe, 10 years ago)
  • wp-includes/class-wp-customize-control.php

     
    12251225
    12261226                        <# if ( ! data.theme.active ) { #>
    12271227                                <div class="theme-actions">
    1228                                         <a class="button" href="<?php echo add_query_arg( 'theme', '{{ data.theme.id }}', remove_query_arg( 'theme' ) ); ?>" target="_top"><?php _e( 'Live Preview' ); ?></a>
     1228                                        <a class="button" href="{{ data.theme.actions.customize }}" target="_top"><?php _e( 'Live Preview' ); ?></a>
    12291229                                </div>
    12301230                        <# } #>
    12311231                </div>