Make WordPress Core

Opened 10 years ago

Closed 9 years ago

#19624 closed defect (bug) (duplicate)

Incorrect font size in tag cloud on decimal comma locales

Reported by: SergeyBiryukov Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch commit
Focuses: Cc:


On some PHP locales, comma is used as a decimal separator.

This creates incorrect font sizes in tag cloud (e.g. the one on Install Plugins screen). See the screenshot.

Browser fails to handle font-size attributes with commas properly, as CSS specification only supports decimal point as a separator:

To reproduce, add this to wp-config.php:

setlocale(LC_ALL, 'fr_FR');

Related: #18460, #19593

Attachments (2)

19624.tag-cloud.png (118.8 KB) - added by SergeyBiryukov 10 years ago.
19624.patch (692 bytes) - added by SergeyBiryukov 10 years ago.

Download all attachments as: .zip

Change History (5)

#1 @ryan
9 years ago

  • Milestone changed from 3.4 to Future Release

#2 @nacin
9 years ago

  • Keywords commit added
  • Milestone changed from Future Release to 3.4

#3 @nacin
9 years ago

  • Milestone 3.4 deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.