syntax error in _deprecated_function() and _deprecated_file()
|Reported by:||JonathanRogers||Owned by:|
The functions _deprecated_function() and _deprecated_file() in wp-includes/functions.php contain lines like:
trigger_error( printf( __("%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead."), $function, $version, $replacement ) );
The printf format strings seem to be bogus and cause PHP to complain when I put "define('WP_DEBUG',true);" in my wp-config.php:
[03-May-2008 17:35:17] PHP Notice: Undefined variable: s in /wordpress_root/wp-includes/functions.php on line 1708
I also see "is deprecated since version ! Use instead." inserted at the top of some pages. I'm quite sure those should be calls to sprintf and should contain correct format strings.