Changeset 7063 for trunk/wp-includes/functions.php
- Timestamp:
- 02/27/2008 05:19:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r7045 r7063 1639 1639 if( defined('WP_DEBUG') && ( true === WP_DEBUG ) && apply_filters( 'deprecated_function_trigger_error', true )) { 1640 1640 if( !is_null($replacement) ) 1641 trigger_error( printf( __("% s is <strong>deprecated</strong> since version %s! Use %s instead."), $function, $version, $replacement ) );1641 trigger_error( printf( __("%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead."), $function, $version, $replacement ) ); 1642 1642 else 1643 trigger_error( printf( __("% s is <strong>deprecated</strong> since version %s with no alternative available."), $function, $version ) );1643 trigger_error( printf( __("%1$s is <strong>deprecated</strong> since version %2$s with no alternative available."), $function, $version ) ); 1644 1644 } 1645 1645 } … … 1674 1674 if( defined('WP_DEBUG') && ( true === WP_DEBUG ) && apply_filters( 'deprecated_file_trigger_error', true )) { 1675 1675 if( !is_null($replacement) ) 1676 trigger_error( printf( __("% s is <strong>deprecated</strong> since version %s! Use %s instead."), $file, $version, $replacement ) );1676 trigger_error( printf( __("%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead."), $file, $version, $replacement ) ); 1677 1677 else 1678 trigger_error( printf( __("% s is <strong>deprecated</strong> since version %s with no alternative available."), $file, $version ) );1678 trigger_error( printf( __("%1$s is <strong>deprecated</strong> since version %2$s with no alternative available."), $file, $version ) ); 1679 1679 } 1680 1680 }
Note: See TracChangeset
for help on using the changeset viewer.