Fix phpDoc for _deprecated_file(). Always pass the full path from ABSPATH to _deprecated_file().

git-svn-id: http://svn.automattic.com/wordpress/trunk@12534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-12-24 10:48:32 +00:00
parent 9ca731eee2
commit 2c2a0cc10c
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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');
?>

View File

@ -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');
?>