From 821a38fcbcd994b600d31f5c48b2c22ee06f89f7 Mon Sep 17 00:00:00 2001 From: azaozz Date: Sat, 8 Oct 2011 22:48:05 +0000 Subject: [PATCH] Add link to the codex in the doing_it_wrong notices, see #18453 git-svn-id: http://svn.automattic.com/wordpress/trunk@18923 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index c2beafadb..32c0cbb8b 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3406,7 +3406,7 @@ function url_is_accessable_via_ssl($url) * @param string $version The version of WordPress that deprecated the function * @param string $replacement Optional. The function that should have been called */ -function _deprecated_function( $function, $version, $replacement=null ) { +function _deprecated_function( $function, $version, $replacement = null ) { do_action( 'deprecated_function_run', $function, $replacement, $version ); @@ -3527,6 +3527,7 @@ function _deprecated_argument( $function, $version, $message = null ) { */ function _doing_it_wrong( $function, $message, $version ) { + $message .= ' ' . __('Please see Debugging in WordPress for more information.'); do_action( 'doing_it_wrong_run', $function, $message, $version ); // Allow plugin to filter the output error trigger