diff --git a/wp-admin/css/colors-classic.dev.css b/wp-admin/css/colors-classic.dev.css index 98fbb11b43..0d9b43f913 100644 --- a/wp-admin/css/colors-classic.dev.css +++ b/wp-admin/css/colors-classic.dev.css @@ -1926,20 +1926,6 @@ table.diff .diff-addedline ins { } /* Install Plugins */ -.star-average, -.star.star-rating { - background-color: #fc0; -} - -div.star.select:hover { - background-color: #d00; -} - -div.star img { - border-left: 1px solid #fff; - border-right: 1px solid #fff; -} - #plugin-information .fyi ul { background-color: #eaf3fa; } diff --git a/wp-admin/css/colors-fresh.dev.css b/wp-admin/css/colors-fresh.dev.css index 31b3b5e9e1..2b77701821 100644 --- a/wp-admin/css/colors-fresh.dev.css +++ b/wp-admin/css/colors-fresh.dev.css @@ -1542,25 +1542,6 @@ table.diff .diff-addedline ins { } /* Install Plugins */ -.star-average, -.star.star-rating { - background-color: #fc0; -} - -div.star.select:hover { - background-color: #d00; -} - -div.star img { - border-left: 1px solid #fff; - border-right: 1px solid #fff; -} - -.widefat div.star img { - border-left: 1px solid #f9f9f9; - border-right: 1px solid #f9f9f9; -} - #plugin-information .fyi ul { background-color: #eaf3fa; } diff --git a/wp-admin/css/wp-admin-rtl.dev.css b/wp-admin/css/wp-admin-rtl.dev.css index 9899f93d72..bc11d259e8 100644 --- a/wp-admin/css/wp-admin-rtl.dev.css +++ b/wp-admin/css/wp-admin-rtl.dev.css @@ -2287,17 +2287,13 @@ body.login { } /* plugin-install */ -div.star { - left: auto; - right: 0; - letter-spacing: 0; +div.star-holder { + background: url('../images/stars-rtl.png?ver=20120506.png') repeat-x bottom right; } - -.star img, div.star a, div.star a:hover, div.star a:visited { - right: auto; - left: 0; +div.star-holder .star-rating { + background: url('../images/stars-rtl.png?ver=20120506.png') repeat-x top right; + float: right; } - #plugin-information ul#sidemenu { left: auto; right: 0; diff --git a/wp-admin/css/wp-admin.dev.css b/wp-admin/css/wp-admin.dev.css index ab0c468a9f..6943e40523 100644 --- a/wp-admin/css/wp-admin.dev.css +++ b/wp-admin/css/wp-admin.dev.css @@ -7135,12 +7135,17 @@ body.menu-max-depth-11 { min-width: 1280px !important; } } /* plugin-install */ -/* NOTE: the following CSS rules(.star*) are taken more or less straight from the bbPress rating plugin. */ div.star-holder { position: relative; - height: 19px; + height: 17px; width: 100px; - font-size: 19px; + background: url('../images/stars.png?ver=20120307') repeat-x bottom left; +} + +div.star-holder .star-rating { + background: url('../images/stars.png?ver=20120307') repeat-x top left; + height: 17px; + float: left; } div.action-links { @@ -7148,38 +7153,6 @@ div.action-links { margin: 6px 0 0; } -div.star { - height: 100%; - position: absolute; - top: 0; - left: 0; - background-color: transparent; - letter-spacing: 1ex; - border: none; -} - -.star1 { width: 20%; } -.star2 { width: 40%; } -.star3 { width: 60%; } -.star4 { width: 80%; } -.star5 { width: 100%; } - -.star img, -div.star a, -div.star a:hover, -div.star a:visited { - display: block; - position: absolute; - right: 0; - border: none; - text-decoration: none; -} - -div.star img { - width: 19px; - height: 19px; -} - /* Header on thickbox */ #plugin-information-header { margin: 0; diff --git a/wp-admin/images/gray-star.png b/wp-admin/images/gray-star.png deleted file mode 100644 index a32b058bab..0000000000 Binary files a/wp-admin/images/gray-star.png and /dev/null differ diff --git a/wp-admin/images/star.png b/wp-admin/images/star.png deleted file mode 100644 index 4ca5261438..0000000000 Binary files a/wp-admin/images/star.png and /dev/null differ diff --git a/wp-admin/images/stars-rtl.png b/wp-admin/images/stars-rtl.png new file mode 100644 index 0000000000..c6330b620b Binary files /dev/null and b/wp-admin/images/stars-rtl.png differ diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 4cf1c16419..3de77c1d80 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -218,18 +218,6 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { >
- -
<?php esc_attr_e( '5 stars' ) ?>
-
<?php esc_attr_e( '4 stars' ) ?>
-
<?php esc_attr_e( '3 stars' ) ?>
-
<?php esc_attr_e( '2 stars' ) ?>
-
<?php esc_attr_e( '1 star' ) ?>
> diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index fa629a2e45..f0d7cbdebe 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -343,11 +343,6 @@ function install_plugin_information() {

-
<?php esc_attr_e('5 stars') ?>
-
<?php esc_attr_e('4 stars') ?>
-
<?php esc_attr_e('3 stars') ?>
-
<?php esc_attr_e('2 stars') ?>
-
<?php esc_attr_e('1 star') ?>
num_ratings), number_format_i18n($api->num_ratings)); ?> diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index e47cf0a7e1..8f83f69543 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -359,7 +359,9 @@ $_old_files = array( 'wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/fade-butt.png', 'wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/separator.gif', // 3.4 +'wp-admin/images/gray-star.png', 'wp-admin/images/logo-login.png', +'wp-admin/images/star.png', 'wp-admin/index-extra.php', 'wp-admin/network/index-extra.php', 'wp-admin/user/index-extra.php',