Make WordPress Core


Ignore:
Timestamp:
12/24/2009 11:12:04 AM (15 years ago)
Author:
westi
Message:

Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r12536 r12537  
    30463046    // Allow plugin to filter the output error trigger
    30473047    if( WP_DEBUG && apply_filters( 'deprecated_argument_trigger_error', true ) ) {
    3048         if( !is_null($replacement) )
     3048        if( !is_null($message) )
    30493049            trigger_error( sprintf( __('The %1$s argument of %2$s is <strong>deprecated</strong> since version %3$s! %4$s'), $function, $argument, $version, $message ) );
    30503050        else
Note: See TracChangeset for help on using the changeset viewer.