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

git-svn-id: https://develop.svn.wordpress.org/trunk@12534 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2009-12-24 10:48:32 +00:00
parent b799f4886e
commit 5f07ebb275
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');
?>