[wp-trac] [WordPress Trac] #18453: Improved doing_it_wrong()
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 17 02:48:12 UTC 2011
#18453: Improved doing_it_wrong()
-------------------------+-----------------------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------------
Comment (by nacin):
I would rather point them toward Log Deprecated Notices or Debug Bar,
which handles these kinds of backtraces very effectively.
In my experience coding Log Deprecated Notices, different uses in core
require different steps up the tree. It's painful, and exacting, and I
believe it belongs in a plugin if only because it can be iterated quickly:
http://plugins.trac.wordpress.org/browser/log-deprecated-notices/trunk
/log-deprecated-notices.php?rev=392669#L252
The best thing we can do for beginner programmers is point them toward
established development tools.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18453#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list