[wp-trac] [WordPress Trac] #11386: New _deprecated_argument() function
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 24 13:08:10 UTC 2009
#11386: New _deprecated_argument() function
-------------------------+--------------------------------------------------
Reporter: nacin | Owner: westi
Type: enhancement | Status: accepted
Priority: normal | Milestone: 3.0
Component: Inline Docs | Version:
Severity: normal | Keywords: commit
-------------------------+--------------------------------------------------
Comment(by westi):
Replying to [comment:17 sirzooro]:
> `_deprecated_argument()` function needs update - you should check if
WP_DEBUG is defined first. Without this you will get PHP notice that
WP_DEBUG is not defined.
>
> {{{
> if( defined( 'WP_DEBUG' ) && WP_DEBUG && apply_filters(
'deprecated_argument_trigger_error', true ) ) {
> }}}
But WP_DEBUG is always defined.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11386#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list