Make WordPress Core

Opened 10 months ago

Closed 8 months ago

Last modified 8 months ago

#59245 closed defect (bug) (reported-upstream)

Unknown format specifier "�" on non-english site

Reported by: iamjafran's profile iamjafran Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Comments Keywords:
Focuses: Cc:


I have changed language from settings to Bangla, with default theme and no extra plugin installed. Found this error on both frontend template and debug log.

PHP Fatal error: Uncaught ValueError: Unknown format specifier "�" in /wp-includes/theme-compact/comments.php Line 44

Change History (7)

#1 @sabernhardt
10 months ago

Hi and welcome to WordPress Core Trac!

The translation is missing the s in placeholders such as %1$s. I suggested new translations for singular and plural, which need to be approved (and/or improved).

On a side note, I do not like that a site with a default theme and no plugins gets comments from the theme-compat file, but that could be a separate issue.

This ticket was mentioned in Slack in #polyglots by hellofromtonya. View the logs.

8 months ago

#3 @hellofromTonya
8 months ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 6.4

Pulling into the 6.4 milestone for awareness. I also asked in the Make/Core slack polyglots channel to learn what the approval process is to get @sabernhardt's changes approved.

Though this is not "code" fix per se, marking it has-patch to indicate there's a fix available.

#4 follow-up: @huzaifaalmesbah
8 months ago

@faisalahammad @thebengalboy Please check it. Thanks You.

#5 follow-up: @ocean90
8 months ago

  • Keywords has-patch removed
  • Milestone 6.4 deleted
  • Resolution set to reported-upstream
  • Severity changed from major to normal
  • Status changed from new to closed
  • Version trunk deleted

I have approved the pending translation.

#6 in reply to: ↑ 4 @thebengalboy
8 months ago

Replying to huzaifaalmesbah:

@faisalahammad @thebengalboy Please check it. Thanks You.

Thank you @huzaifaalmesbah ; I see the translation is already updated-

#7 in reply to: ↑ 5 @thebengalboy
8 months ago

Replying to ocean90:

I have approved the pending translation.

Thank you, @ocean90

Note: See TracTickets for help on using tickets.