[wp-trac] Re: [WordPress Trac] #4361: Notify user of theme using
deprecated code
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 20 15:46:14 GMT 2007
#4361: Notify user of theme using deprecated code
-------------------------+--------------------------------------------------
Reporter: Otto42 | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: 2.4
Component: Template | Version:
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by santosj):
* keywords: hunt-irrelevant =>
Comment:
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/4361#comment:14>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list