[wp-trac] [WordPress Trac] #18453: Improve doing_it_wrong() and stop it from breaking WP
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 22 02:52:12 UTC 2011
#18453: Improve doing_it_wrong() and stop it from breaking WP
-------------------------+------------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.3
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------
Comment (by scribu):
Replying to [comment:16 azaozz]:
> In [18747]:
> {{{
> #!CommitTicketReference repository="" revision="18747"
> Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
> }}}
This seems backwards to me. Shouldn't warnings be postponed if
WP_DEBUG_DISPLAY is ''not'' set?
Also, the way it's currently done, _doing_it_wrong() calls are limited to
the admin area and before 'admin_notices'.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18453#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list