diff --git a/wp-admin/includes/class-wp-themes-list-table.php b/wp-admin/includes/class-wp-themes-list-table.php index ca29f73749..5d18ded1d0 100644 --- a/wp-admin/includes/class-wp-themes-list-table.php +++ b/wp-admin/includes/class-wp-themes-list-table.php @@ -136,7 +136,7 @@ class WP_Themes_List_Table extends WP_List_Table { . esc_attr( sprintf( __( 'Activate “%s”' ), $title ) ) . '">' . __( 'Activate' ) . ''; $actions[] = ' - class="screenshot load-customize hide-if-no-customize"> + '; - $install_actions['preview'] .= ' '; if ( is_network_admin() && current_user_can( 'manage_network_themes' ) ) @@ -1579,7 +1579,7 @@ class Theme_Upgrader_Skin extends WP_Upgrader_Skin { $activate_link = wp_nonce_url( $activate_link, 'switch-theme_' . $template ); $update_actions['preview'] = ' '; - $update_actions['preview'] .= ' '; + $update_actions['preview'] .= ' '; $update_actions['activate'] = '' . __('Activate') . ''; if ( ( ! $this->result || is_wp_error( $this->result ) ) || $stylesheet == get_stylesheet() ) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 041ddcd919..e1b4d64e8b 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -122,7 +122,7 @@ $class = $screenshot ? 'has-screenshot' : '';
' - . ' '; if ( ! is_multisite() && current_user_can( 'delete_themes' ) ) $actions['delete'] = '