Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -13,7 +13,7 @@ if ( !current_user_can('edit_files') )
|
||||
wp_die(__('You do not have sufficient permissions to export the content of this blog.'));
|
||||
|
||||
/** Load WordPress export API */
|
||||
require_once('includes/export.php');
|
||||
require_once('./includes/export.php');
|
||||
$title = __('Export');
|
||||
|
||||
if ( isset( $_GET['download'] ) ) {
|
||||
|
||||
Reference in New Issue
Block a user