diff --git wp-admin/includes/file.php wp-admin/includes/file.php
index ca42426..da3fd1f 100644
|
|
function get_home_path() { |
101 | 101 | * directory |
102 | 102 | * |
103 | 103 | * @since 1.5.0 |
104 | | * |
| 104 | * @deprecated 2.9 |
105 | 105 | * @uses get_home_path |
106 | 106 | * @uses WP_CONTENT_DIR full filesystem path to the wp-content directory |
107 | 107 | * @param string $file filesystem path relative to the WordPress install directory or to the wp-content directory |
108 | 108 | * @return string full file system path to edit |
109 | 109 | */ |
110 | 110 | function get_real_file_to_edit( $file ) { |
| 111 | _deprecated_function( __FUNCTION__, '2.9' ); |
| 112 | |
111 | 113 | if ('index.php' == $file || '.htaccess' == $file ) { |
112 | 114 | $real_file = get_home_path() . $file; |
113 | 115 | } else { |