Changeset 41699 for trunk/src/wp-admin/includes/dashboard.php
- Timestamp:
- 10/03/2017 04:12:51 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r41641 r41699 1568 1568 <div class="welcome-panel-column-container"> 1569 1569 <div class="welcome-panel-column"> 1570 <?php if ( current_user_can( 'customize' ) ): ?> 1570 <?php if ( current_user_can( 'customize' ) ): 1571 $customize_themes_link = add_query_arg( 'autofocus[panel]', 'themes', admin_url( 'customize.php' ) ); ?> 1571 1572 <h3><?php _e( 'Get Started' ); ?></h3> 1572 1573 <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> … … 1574 1575 <a class="button button-primary button-hero hide-if-customize" href="<?php echo admin_url( 'themes.php' ); ?>"><?php _e( 'Customize Your Site' ); ?></a> 1575 1576 <?php if ( current_user_can( 'install_themes' ) || ( current_user_can( 'switch_themes' ) && count( wp_get_themes( array( 'allowed' => true ) ) ) > 1 ) ) : ?> 1576 <p class="hide-if-no-customize"><?php printf( __( 'or, <a href="%s">change your theme completely</a>' ), admin_url( 'themes.php' )); ?></p>1577 <p class="hide-if-no-customize"><?php printf( __( 'or, <a href="%s">change your theme completely</a>' ), $customize_themes_link ); ?></p> 1577 1578 <?php endif; ?> 1578 1579 </div>
Note: See TracChangeset
for help on using the changeset viewer.