Changeset 29170 for trunk/src/wp-admin/includes/dashboard.php
- Timestamp:
- 07/14/2014 07:00:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r29130 r29170 1280 1280 <div class="welcome-panel-column-container"> 1281 1281 <div class="welcome-panel-column"> 1282 <h4><?php _e( 'Get Started' ); ?></h4> 1283 <a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php echo wp_customize_url(); ?>"><?php _e( 'Customize Your Site' ); ?></a> 1282 <?php if ( current_user_can( 'customize' ) ): ?> 1283 <h4><?php _e( 'Get Started' ); ?></h4> 1284 <a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php echo wp_customize_url(); ?>"><?php _e( 'Customize Your Site' ); ?></a> 1285 <?php endif; ?> 1284 1286 <a class="button button-primary button-hero hide-if-customize" href="<?php echo admin_url( 'themes.php' ); ?>"><?php _e( 'Customize Your Site' ); ?></a> 1285 1287 <?php if ( current_user_can( 'install_themes' ) || ( current_user_can( 'switch_themes' ) && count( wp_get_themes( array( 'allowed' => true ) ) ) > 1 ) ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.