From 16a007687fbd06beb0214cfb388b047e850c781b Mon Sep 17 00:00:00 2001 From: westi Date: Thu, 24 Dec 2009 10:53:34 +0000 Subject: [PATCH] More phpdoc fixes. Depreceated version numbers for _deprecated_file() calls in wp-includes. git-svn-id: http://svn.automattic.com/wordpress/trunk@12535 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- wp-includes/registration-functions.php | 2 +- wp-includes/rss-functions.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 81e83043a..6a8bd6b9e 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2993,7 +2993,7 @@ function _deprecated_function($function, $version, $replacement=null) { * @uses apply_filters() Calls 'deprecated_file_trigger_error' and expects boolean value of true to do trigger or false to not trigger error. * * @param string $file The file that was included - * @param string $version The version of WordPress that deprecated the function + * @param string $version The version of WordPress that deprecated the file * @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 c606c7c7b..d1cf72a57 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', WPINC . '/registration.php' ); +_deprecated_file( basename(__FILE__), '2.1', WPINC . '/registration.php' ); require_once(ABSPATH . WPINC . '/registration.php'); ?> diff --git a/wp-includes/rss-functions.php b/wp-includes/rss-functions.php index fe0f3632f..ea3269289 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', WPINC . '/rss.php' ); +_deprecated_file( basename(__FILE__), '2.1', WPINC . '/rss.php' ); require_once (ABSPATH . WPINC . '/rss.php'); ?>