diff --git a/wp-includes/functions.php b/wp-includes/functions.php index c4a481bef8..81e83043ab 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2994,7 +2994,7 @@ function _deprecated_function($function, $version, $replacement=null) { * * @param string $file The file that was included * @param string $version The version of WordPress that deprecated the function - * @param string $replacement Optional. The function that should have been called + * @param string $replacement Optional. The file that should have been included based on ABSPATH */ function _deprecated_file($file, $version, $replacement=null) { diff --git a/wp-includes/registration-functions.php b/wp-includes/registration-functions.php index a1d5ab54f2..c606c7c7ba 100644 --- a/wp-includes/registration-functions.php +++ b/wp-includes/registration-functions.php @@ -4,6 +4,6 @@ * * @package WordPress */ -_deprecated_file( basename(__FILE__), '0.0', 'registration.php' ); +_deprecated_file( basename(__FILE__), '0.0', WPINC . '/registration.php' ); require_once(ABSPATH . WPINC . '/registration.php'); ?> diff --git a/wp-includes/rss-functions.php b/wp-includes/rss-functions.php index 3ccd75a956..fe0f3632f2 100644 --- a/wp-includes/rss-functions.php +++ b/wp-includes/rss-functions.php @@ -5,6 +5,6 @@ * @package WordPress */ -_deprecated_file( basename(__FILE__), '0.0', 'rss.php' ); +_deprecated_file( basename(__FILE__), '0.0', WPINC . '/rss.php' ); require_once (ABSPATH . WPINC . '/rss.php'); ?>