WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/30/2015 07:21:01 PM (6 years ago)
Author:
ocean90
Message:

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

see #31782.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r31911 r31933  
    12261226            <# if ( ! data.theme.active ) { #>
    12271227                <div class="theme-actions">
    1228                     <a class="button" href="{{ data.theme.actions.customize }}" target="_top"><?php _e( 'Live Preview' ); ?></a>
     1228                    <a class="button" href="<?php echo add_query_arg( 'theme', '{{ data.theme.id }}' ); ?>" target="_top"><?php _e( 'Live Preview' ); ?></a>
    12291229                </div>
    12301230            <# } #>
Note: See TracChangeset for help on using the changeset viewer.