3 * Handle default dashboard widgets options AJAX.
6 * @subpackage Administration
9 /** Load WordPress Bootstrap */
10 require_once( './admin.php' );
12 /** Load WordPress Administration Dashboard API */
13 require( './includes/dashboard.php' );
15 @header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
16 send_nosniff_header();
18 switch ( $_GET['jax'] ) {
20 case 'dashboard_incoming_links' :
21 wp_dashboard_incoming_links_output();
24 case 'dashboard_primary' :
25 wp_dashboard_rss_output( 'dashboard_primary' );
28 case 'dashboard_secondary' :
29 wp_dashboard_secondary_output();
32 case 'dashboard_plugins' :
33 wp_dashboard_plugins_output();
36 case 'dashboard_quick_press' :
37 wp_dashboard_quick_press_output();