Changeset 31933
- Timestamp:
- 03/30/2015 07:21:01 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/theme.php
r31533 r31933 533 533 <# if ( ! data.active ) { #> 534 534 <div class="inactive-theme"> 535 <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>535 <a href="<?php echo add_query_arg( 'theme', '{{ data.id }}' ); ?>" target="_top" class="button button-primary"><?php _e( 'Live Preview' ); ?></a> 536 536 </div> 537 537 <# } #> -
trunk/src/wp-includes/class-wp-customize-control.php
r31911 r31933 1226 1226 <# if ( ! data.theme.active ) { #> 1227 1227 <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> 1229 1229 </div> 1230 1230 <# } #>
Note: See TracChangeset
for help on using the changeset viewer.