Opened 10 years ago
Closed 10 years ago
#1266 closed defect (bug) (fixed)
Plugin Directory (RTL) Rating
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | Plugin Directory | Keywords: | |
| Cc: |
Description
The rating start should be flipped on RTL pages.
See the attached screenshots.
Attachments (2)
Change History (11)
#2
@
10 years ago
Actually, core needs a fix for theme ratings too.
#WP26814 fixed this for plugin ratings, but theme install screen was redesigned later and uses different classes.
#4
@
10 years ago
For plugin directory, this should fix it:
html[dir="rtl"] .wporg-ratings .dashicons-star-half {
-webkit-transform: rotateY(180deg);
-ms-transform: rotateY(180deg);
transform: rotateY(180deg);
}
For theme directory, we should probably follow the path of #WP34080 and use wp_star_rating() there.
#5
@
10 years ago
Ratings as far as how the theme and plugins and forums work are a bit special. We have custom code for those. I'll have to alter it in ways similar to core, instead of using core.
Same for Theme Directory: https://he.wordpress.org/themes/twentyfifteen/