WordPress/wp-admin/index-extra.php
ryan 1a552dd029 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@14924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:42:15 +00:00

42 lines
817 B
PHP

<?php
/**
* Handle default dashboard widgets options AJAX.
*
* @package WordPress
* @subpackage Administration
*/
/** Load WordPress Bootstrap */
require_once( './admin.php' );
/** Load WordPress Administration Dashboard API */
require( './includes/dashboard.php' );
@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
send_nosniff_header();
switch ( $_GET['jax'] ) {
case 'dashboard_incoming_links' :
wp_dashboard_incoming_links_output();
break;
case 'dashboard_primary' :
wp_dashboard_rss_output( 'dashboard_primary' );
break;
case 'dashboard_secondary' :
wp_dashboard_secondary_output();
break;
case 'dashboard_plugins' :
wp_dashboard_plugins_output();
break;
case 'dashboard_quick_press' :
wp_dashboard_quick_press_output();
break;
}
?>