Customizer: Revert [31911]. We want to preserve url and return URL parameters to make the experience smoother.

see #31782.

git-svn-id: https://develop.svn.wordpress.org/trunk@31933 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
ocean90
2015-03-30 19:21:01 +00:00
parent e6614d639b
commit c0104d6cc2
2 changed files with 2 additions and 2 deletions

View File

@@ -532,7 +532,7 @@ function customize_themes_print_templates() {
<div class="theme-actions">
<# if ( ! data.active ) { #>
<div class="inactive-theme">
<a href="<?php echo add_query_arg( 'theme', '{{ data.id }}', remove_query_arg( 'theme' ) ); ?>" target="_top" class="button button-primary"><?php _e( 'Live Preview' ); ?></a>
<a href="<?php echo add_query_arg( 'theme', '{{ data.id }}' ); ?>" target="_top" class="button button-primary"><?php _e( 'Live Preview' ); ?></a>
</div>
<# } #>
</div>