mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-24 15:24:36 +00:00
Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once('admin.php');
|
||||
require_once('./admin.php');
|
||||
|
||||
if ( !current_user_can('edit_plugins') )
|
||||
wp_die('<p>'.__('You do not have sufficient permissions to edit plugins for this blog.').'</p>');
|
||||
@@ -102,7 +102,7 @@ default:
|
||||
}
|
||||
}
|
||||
|
||||
require_once('admin-header.php');
|
||||
require_once('./admin-header.php');
|
||||
|
||||
update_recently_edited(WP_PLUGIN_DIR . '/' . $file);
|
||||
|
||||
@@ -239,4 +239,4 @@ jQuery(document).ready(function($){
|
||||
<?php
|
||||
break;
|
||||
}
|
||||
include("admin-footer.php");
|
||||
include("./admin-footer.php");
|
||||
|
||||
Reference in New Issue
Block a user