[wp-trac] Re: [WordPress Trac] #6906: syntax error in _deprecated_function() and _deprecated_file()

WordPress Trac wp-trac at lists.automattic.com
Sun May 4 10:42:23 GMT 2008


#6906: syntax error in _deprecated_function() and _deprecated_file()
----------------------------+-----------------------------------------------
 Reporter:  JonathanRogers  |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.5.2    
Component:  General         |      Version:  2.5.1    
 Severity:  minor           |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by westi):

  * milestone:  2.7 => 2.5.2

Comment:

 '''%1$s''' is a valid format string - it allows for the translated string
 to use the included specifiers in a different order if they want.

 However, they should definitely be calls to sprintf so that the return the
 string to pass to trigger_error and as DD32 suggests that quoting is all
 wrong.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6906#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list