diff --git a/wp-admin/css/wp-admin.dev.css b/wp-admin/css/wp-admin.dev.css index b0828abf0..94a307b29 100644 --- a/wp-admin/css/wp-admin.dev.css +++ b/wp-admin/css/wp-admin.dev.css @@ -5373,28 +5373,27 @@ body.full-overlay-active { border: 1px solid #ccc; } -.install-theme-info .theme-version { +.theme-details .theme-version { margin: 15px 0; - float: right; + float: left; } -.install-theme-info .theme-rating { +.theme-details .theme-rating { margin: 14px 0; width: 100px; height: 17px; - float: left; + float: right; background: url('../images/stars.png?ver=20120307') repeat-x bottom left; } -.install-theme-info .theme-rating div { +.theme-details .theme-rating div { background: url('../images/stars.png?ver=20120307') repeat-x top left; height: 17px; float: left; } -.install-theme-info .theme-description { - margin-top: 34px; - padding-top: 1em; +.theme-details .theme-description { + float: left; color: #777; line-height: 20px; } diff --git a/wp-admin/includes/class-wp-theme-install-list-table.php b/wp-admin/includes/class-wp-theme-install-list-table.php index 4231cd224..842a8ffc6 100644 --- a/wp-admin/includes/class-wp-theme-install-list-table.php +++ b/wp-admin/includes/class-wp-theme-install-list-table.php @@ -192,14 +192,35 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table { 'theme' => $theme->slug, ) ); + $actions = array(); + + $install_url = add_query_arg( array( + 'action' => 'install-theme', + 'theme' => $theme->slug, + ), self_admin_url( 'update.php' ) ); + $actions[] = '' . __( 'Install Now' ) . ''; + + $actions[] = '' . __( 'Preview' ) . ''; + + $actions = apply_filters( 'theme_install_actions', $actions, $theme ); + ?> - +
+