Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d6d7e77e05
Fetching contributors…

Cannot retrieve contributors at this time

file 42 lines (31 sloc) 0.817 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
<?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;

}

?>
Something went wrong with that request. Please try again.