Make WordPress Core

Opened 11 days ago

Last modified 11 days ago

#44340 new defect (bug)

Make use of sprintf function while translating strings

Reported by: saimonh Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.6
Component: Users Keywords: has-patch
Focuses: coding-standards Cc:


This is not a bug rather it's an improvement. In the wp-includes/user.php file, there are some <strong> tag has which has been used inside the translated () function.

So it's better to make use of sprintf function here than hard-coding the <strong> tag.

Screenshot: https://d.pr/free/i/qbHq2z


Attachments (1)

patch.diff (8.4 KB) - added by saimonh 11 days ago.

Download all attachments as: .zip

Change History (2)

11 days ago

#1 @abdullahramzan
11 days ago

  • Focuses coding-standards added
Note: See TracTickets for help on using tickets.