Rearrange wp-load include. see #11420.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-10-24 03:56:10 +00:00
parent caf177947d
commit 3413426dab
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">