mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +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:
+3
-3
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once('admin.php');
|
||||
require_once('./admin.php');
|
||||
|
||||
if ( !current_user_can('switch_themes') )
|
||||
wp_die( __( 'Cheatin’ uh?' ) );
|
||||
@@ -42,7 +42,7 @@ add_contextual_help($current_screen, $help);
|
||||
add_thickbox();
|
||||
wp_enqueue_script( 'theme-preview' );
|
||||
|
||||
require_once('admin-header.php');
|
||||
require_once('./admin-header.php');
|
||||
if ( is_multisite() && current_user_can('edit_themes') ) {
|
||||
?><div id="message0" class="updated"><p><?php _e('Administrator: new themes must be activated in the <a href="ms-themes.php">Themes Admin</a> page before they appear here.'); ?></p></div><?php
|
||||
}
|
||||
@@ -313,4 +313,4 @@ if ( current_user_can('edit_themes') && count( $broken_themes ) ) {
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php require('admin-footer.php'); ?>
|
||||
<?php require('./admin-footer.php'); ?>
|
||||
|
||||
Reference in New Issue
Block a user