Rearrange wp-load include. see #11420.

git-svn-id: https://develop.svn.wordpress.org/trunk@15943 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-10-24 03:56:10 +00:00
parent 4738e732ae
commit a719899fca
2 changed files with 3 additions and 6 deletions

View File

@ -1,8 +1,4 @@
<?php
/** @ignore */
if ( ! defined('ABSPATH') )
require_once('../../../wp-load.php');
class WP_Tab_Bar {
var $tabs = array();

View File

@ -1,7 +1,8 @@
<?php
if ( ! defined('ABSPATH') )
die();
require_once '../../../wp-load.php';
include './wp-mce-link-includes.php';
header('Content-Type: text/html; charset=' . get_bloginfo('charset'));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">