Make WordPress Core


Ignore:
Timestamp:
04/01/2015 12:35:26 PM (9 years ago)
Author:
ocean90
Message:

Customizer Theme Switcher: Switch the details/live preview buttons.

props celloexpressions, ocean90.
fixes #31791.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/theme.php

    r31943 r31954  
    548548            </div>
    549549
    550             <div class="theme-actions">
    551                 <# if ( ! data.active ) { #>
     550            <# if ( ! data.active ) { #>
     551                <div class="theme-actions">
    552552                    <div class="inactive-theme">
    553553                        <a href="<?php echo add_query_arg( 'theme', '{{ data.id }}' ); ?>" target="_top" class="button button-primary"><?php _e( 'Live Preview' ); ?></a>
    554554                    </div>
    555                 <# } #>
    556             </div>
     555                </div>
     556            <# } #>
    557557        </div>
    558558    </script>
Note: See TracChangeset for help on using the changeset viewer.