WordPress.org

Making WordPress.org

Opened 4 years ago

Closed 4 years ago

#1266 closed defect (fixed)

Plugin Directory (RTL) Rating

Reported by: ramiy Owned by: ocean90
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

The rating start should be flipped on RTL pages.

See the attached screenshots.

Attachments (2)

plugins-archive-rating.png (105.6 KB) - added by ramiy 4 years ago.
plugin-sidebr-rating.png (14.2 KB) - added by ramiy 4 years ago.

Download all attachments as: .zip

Change History (11)

#2 @SergeyBiryukov
4 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.

#3 @SergeyBiryukov
4 years ago

Created #WP34080 for theme ratings in core.

#4 @SergeyBiryukov
4 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 @Otto42
4 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.

This ticket was mentioned in Slack in #meta-i18n by ramiy. View the logs.


4 years ago

This ticket was mentioned in Slack in #meta by sam. View the logs.


4 years ago

#8 @ocean90
4 years ago

  • Owner set to ocean90
  • Status changed from new to accepted

#9 @ocean90
4 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

Plugins were fixed 4 months ago in [dotorg10937].

Note: See TracTickets for help on using tickets.