Changeset 26523
- Timestamp:
- 12/02/2013 07:33:57 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r26522 r26523 228 228 <# if ( data.active ) { #> 229 229 <span class="current-label"><?php _e( 'Current Theme' ); ?></span> 230 <# if ( data.actions ['customize']) { #>231 <a class="button button-primary hide-if-no-customize" href="{{ data.actions ['customize']}}"><?php _e( 'Customize' ); ?></a>230 <# if ( data.actions.customize ) { #> 231 <a class="button button-primary hide-if-no-customize" href="{{ data.actions.customize }}"><?php _e( 'Customize' ); ?></a> 232 232 <# } #> 233 233 <# } else { #> 234 <a class="button button-primary activate" href="{{{ data.actions ['activate']}}}"><?php _e( 'Activate' ); ?></a>235 <a class="button button-secondary preview" href="{{{ data.actions ['customize']}}}"><?php _e( 'Live Preview' ); ?></a>234 <a class="button button-primary activate" href="{{{ data.actions.activate }}}"><?php _e( 'Activate' ); ?></a> 235 <a class="button button-secondary preview" href="{{{ data.actions.customize }}}"><?php _e( 'Live Preview' ); ?></a> 236 236 <# } #> 237 237 … … 299 299 <a class="button button-secondary" href="<?php echo admin_url( 'nav-menus.php' ); ?>"><?php _e( 'Menus' ); ?></a> 300 300 <?php } ?> 301 <?php if ( current_theme_supports( 'widgets' ) ) { ?>301 <?php if ( current_theme_supports( 'widgets' ) ) { ?> 302 302 <a class="button button-secondary" href="<?php echo admin_url( 'widgets.php' ); ?>"><?php _e( 'Widgets' ); ?></a> 303 303 <?php } ?>
Note: See TracChangeset
for help on using the changeset viewer.