From 34e570a8ab49fa40f0e99c3ea21362ee63d44ad3 Mon Sep 17 00:00:00 2001 From: Andrew Ozz 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: https://develop.svn.wordpress.org/trunk@18923 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 c2beafadb4..32c0cbb8b0 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