[wp-trac] [WordPress Trac] #42142: Use of numbered arguments needed in wp-db.php

WordPress Trac noreply at wordpress.org
Sun Oct 8 07:23:50 UTC 2017


#42142: Use of numbered arguments needed in wp-db.php
--------------------------+-----------------------------
 Reporter:  tobifjellner  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Database      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 /wp-includes/wp-db.php :1294

 {{{sprintf( __( 'The query does not contain the correct number of
 placeholders (%d) for the number of arguments passed (%d).' ),}}}

 In order to allow translators to make the best possible translation,
 numbered placeholders should be used:
 {{{sprintf( __( 'The query does not contain the correct number of
 placeholders (%1$d) for the number of arguments passed (%2%d).' ),}}}

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


More information about the wp-trac mailing list