[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 00:23:44 GMT 2008


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

 > wp_deprecated.patch
 {{{%1$s}}} Is a valid sprintf statement i believe.

 Simply changing the quoting style to this should work:
 {{{
 sprintf( __('%1$s is <strong>deprecated</strong> since version %2$s! Use
 %3$s instead.')
 }}}

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


More information about the wp-trac mailing list