]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/index-extra.php
Wordpress 3.0
[autoinstalls/wordpress.git] / wp-admin / index-extra.php
index 3218970733c167fa6c7a49cd6bcd794a1d85da0b..22df0d67dc1f78917b91fdc3eb45d5e94fc03f88 100644 (file)
@@ -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( './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