X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/449d082fcc4873c1f7d363a0d9f7409be7f6e77d..0278c4b31e94c74bb5da5832653ad26e14a7b275:/wp-admin/index-extra.php?ds=sidebyside diff --git a/wp-admin/index-extra.php b/wp-admin/index-extra.php index 32189707..efa2526c 100644 --- a/wp-admin/index-extra.php +++ b/wp-admin/index-extra.php @@ -7,15 +7,13 @@ */ /** Load WordPress Bootstrap */ -require_once('admin.php'); +require_once( './admin.php' ); /** Load WordPress Administration Dashboard API */ -require( 'includes/dashboard.php' ); +require(ABSPATH . 'wp-admin/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' ) ); +send_nosniff_header(); switch ( $_GET['jax'] ) { @@ -35,6 +33,10 @@ case 'dashboard_plugins' : wp_dashboard_plugins_output(); break; +case 'dashboard_quick_press' : + wp_dashboard_quick_press_output(); + break; + } ?> \ No newline at end of file