From 167df97e812a9c162d56ed9fb31e563a84996f45 Mon Sep 17 00:00:00 2001 From: westi Date: Wed, 15 Dec 2010 11:31:00 +0000 Subject: [PATCH] Switch to _doing_it_wrong(). See #15824 git-svn-id: http://svn.automattic.com/wordpress/trunk@16940 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index ad623df55..81d625402 100644 --- a/wp-includes/plugin.php +++ b/wp-includes/plugin.php @@ -660,7 +660,7 @@ function register_deactivation_hook($file, $function) { */ function register_uninstall_hook( $file, $callback ) { if ( is_array( $callback ) && is_object( $callback[0] ) ) { - _deprecated_argument( __FUNCTION__, '3.1', __( 'Only a static class method or function can be used in an uninstall hook.' ) ); + _doing_it_wrong( __FUNCTION__, __( 'Only a static class method or function can be used in an uninstall hook.' ) ); return; }