[wp-trac] [WordPress Trac] #13874: Add package argument to "_deprecated_function" function

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 16 13:07:28 UTC 2012


#13874: Add package argument to "_deprecated_function" function
------------------------------+-----------------------------
 Reporter:  johnjamesjacoby   |       Owner:  westi
     Type:  enhancement       |      Status:  accepted
 Priority:  normal            |   Milestone:  Future Release
Component:  Warnings/Notices  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+-----------------------------

Comment (by strider72):

 Just a note to suggest that while this is a convenience, it isn't
 technically necessary, as a backtrace can readily identify the file in
 which the deprecated function was called.

 My "Log Deprecated Calls" plugin does this:
 http://striderweb.com/nerdaphernalia/features/wp-log-deprecated-calls/

 I have nothing against convenience, of course. ;-)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13874#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list