WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#13286 closed defect (bug) (fixed)

Move variables out of strings, use sprintf to include them

Reported by: demetris Owned by: nbachiyski
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: I18N Keywords: has-patch
Focuses: Cc:

Description

Patch does what summary title describes for 3 strings found in wp-admin/import/wordpress.php.

Patch is untested.

Attachments (1)

t13286-strings-vars-sprintf.diff (1.3 KB) - added by demetris 4 years ago.
Use sprintf for vars in strings

Download all attachments as: .zip

Change History (2)

demetris4 years ago

Use sprintf for vars in strings

comment:1 nbachiyski4 years ago

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

(In [14492]) Use sprintf instead of interpolation in translatable strings. Props demetris, fixes #13286

Note: See TracTickets for help on using tickets.