[wp-trac] [WordPress Trac] #34619: Use sprintf() instead of str_replace() in translations strings

WordPress Trac noreply at wordpress.org
Sun Nov 8 01:19:46 UTC 2015


#34619: Use sprintf() instead of str_replace() in translations strings
--------------------------+-----------------------------
 Reporter:  ramiy         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Found a wrong use of `str_replace()` in translations strings. We should
 use `sprintf()` instead.

 See the attached patch fixing this issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34619>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list