*/
/** 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'] ) {
wp_dashboard_plugins_output();
break;
+case 'dashboard_quick_press' :
+ wp_dashboard_quick_press_output();
+ break;
+
}
?>
\ No newline at end of file