- Timestamp:
- 09/28/2016 07:53:07 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php
r38307 r38672 330 330 <div class="wp-full-overlay-sidebar"> 331 331 <div class="wp-full-overlay-header"> 332 <a href="#" class="close-full-overlay button -secondary"><?php _e( 'Close' ); ?></a>332 <a href="#" class="close-full-overlay button"><?php _e( 'Close' ); ?></a> 333 333 <span class="theme-install"></span> 334 334 </div> … … 337 337 </div> 338 338 <div class="wp-full-overlay-footer"> 339 <button type="button" class="collapse-sidebar button -secondary" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>">339 <button type="button" class="collapse-sidebar button" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>"> 340 340 <span class="collapse-sidebar-arrow"></span> 341 341 <span class="collapse-sidebar-label"><?php _e( 'Collapse' ); ?></span> … … 399 399 switch ( $status ) { 400 400 case 'update_available': 401 echo '<a class="theme-install button -primary" href="' . esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ) . '">' . __( 'Update' ) . '</a>';401 echo '<a class="theme-install button button-primary" href="' . esc_url( wp_nonce_url( $update_url, 'upgrade-theme_' . $theme->slug ) ) . '" title="' . esc_attr( sprintf( __( 'Update to version %s' ), $theme->version ) ) . '">' . __( 'Update' ) . '</a>'; 402 402 break; 403 403 case 'newer_installed': … … 407 407 case 'install': 408 408 default: 409 echo '<a class="theme-install button -primary" href="' . esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ) . '">' . __( 'Install' ) . '</a>';409 echo '<a class="theme-install button button-primary" href="' . esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ) . '">' . __( 'Install' ) . '</a>'; 410 410 break; 411 411 } ?>
Note: See TracChangeset
for help on using the changeset viewer.