From b13e2ac9388b98ab85ae8f2f57a1e90cc8779c08 Mon Sep 17 00:00:00 2001 From: Peter Westwood 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: https://develop.svn.wordpress.org/trunk@12535 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 81e83043ab..6a8bd6b9e6 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 c606c7c7ba..d1cf72a578 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 fe0f3632f2..ea3269289f 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'); ?>