get_real_file_to_edit

The timeline below displays how wordpress function get_real_file_to_edit has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.6

/**
 * Get the real filesystem path to a file to edit within the admin.
 *
 * @since 1.5.0
 * @deprecated 2.9.0
 * @uses WP_CONTENT_DIR Full filesystem path to the wp-content directory.
 *
 * @param string $file Filesystem path relative to the wp-content directory.
 * @return string Full filesystem path to edit.
 */
function get_real_file_to_edit($file)
{
    _deprecated_function(__FUNCTION__, '2.9.0');
    return WP_CONTENT_DIR . $file;
}

WordPress Version: 3.7

/**
 * Get the real filesystem path to a file to edit within the admin.
 *
 * @since 1.5.0
 * @deprecated 2.9.0
 * @uses WP_CONTENT_DIR Full filesystem path to the wp-content directory.
 *
 * @param string $file Filesystem path relative to the wp-content directory.
 * @return string Full filesystem path to edit.
 */
function get_real_file_to_edit($file)
{
    _deprecated_function(__FUNCTION__, '2.9');
    return WP_CONTENT_DIR . $file;
}