From 19aa0c798ca4c0ac706794c25c3fe1a57993b03f Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 27 Jan 2010 14:02:16 +0000 Subject: [PATCH] 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 --- wp-admin/index-extra.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/wp-admin/index-extra.php b/wp-admin/index-extra.php index 3218970733..4de41a3317 100644 --- a/wp-admin/index-extra.php +++ b/wp-admin/index-extra.php @@ -7,15 +7,12 @@ */ /** Load WordPress Bootstrap */ -require_once('admin.php'); +require_once( 'admin.php' ); /** Load WordPress Administration Dashboard API */ require( 'includes/dashboard.php' ); -/** Load Magpie RSS API or custom RSS API */ -require_once (ABSPATH . WPINC . '/rss.php'); - -@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); +@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); switch ( $_GET['jax'] ) {