[wp-trac] Re: [WordPress Trac] #4361: Notify user of theme using deprecated code

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 20 18:12:45 GMT 2007


#4361: Notify user of theme using deprecated code
-------------------------+--------------------------------------------------
 Reporter:  Otto42       |        Owner:  westi   
     Type:  enhancement  |       Status:  assigned
 Priority:  low          |    Milestone:  2.4     
Component:  Template     |      Version:          
 Severity:  minor        |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by westi):

  * owner:  => westi
  * status:  new => assigned

Comment:

 Replying to [comment:14 santosj]:
 > Again, does not cover the full scope of all deprecated functions.
 >
 > I would rather invest in an API so that functionality can be changed
 later.
 >
 > {{{
 > function wp_marked_deprecated($file, $function, $line, $useinstead);
 > }}}
 >
 > {{{
 > wp_marked_deprecated(__FILE__, __FUNCTION__, __LINE__, 'somefunction');
 > }}}
 >
 > Which can throw an error or record to a database or file.

 +100

 Yes please. someone write a patch to do this and it will surely get
 committed

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


More information about the wp-trac mailing list