From 63ed4250a9de7cccd65f582bf1864ff3c0ed2135 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@12869 602fd350-edb4-49c9-b593-d223f7449a82 --- 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'] ) {