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

WordPress Trac noreply at wordpress.org
Sun Oct 8 07:25:41 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        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by tobifjellner):

 Ouch. %1$d and %2$d is probably better. :)

 Replying to [ticket:42142 tobifjellner]:
 > {{{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#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list