Don't load deprecated magpie for dashboard. Props nacin. fixes #12051

git-svn-id: http://svn.automattic.com/wordpress/trunk@12869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-27 14:02:16 +00:00
parent 4d5e716f1c
commit 19aa0c798c
1 changed files with 2 additions and 5 deletions

View File

@ -7,15 +7,12 @@
*/ */
/** Load WordPress Bootstrap */ /** Load WordPress Bootstrap */
require_once('admin.php'); require_once( 'admin.php' );
/** Load WordPress Administration Dashboard API */ /** Load WordPress Administration Dashboard API */
require( 'includes/dashboard.php' ); require( 'includes/dashboard.php' );
/** Load Magpie RSS API or custom RSS API */ @header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
require_once (ABSPATH . WPINC . '/rss.php');
@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
switch ( $_GET['jax'] ) { switch ( $_GET['jax'] ) {