raw
mp-wp_genesis           1 <?php
mp-wp_genesis 2 /**
mp-wp_genesis 3 * Handle default dashboard widgets options AJAX.
mp-wp_genesis 4 *
mp-wp_genesis 5 * @package WordPress
mp-wp_genesis 6 * @subpackage Administration
mp-wp_genesis 7 */
mp-wp_genesis 8
mp-wp_genesis 9 /** Load WordPress Bootstrap */
mp-wp_genesis 10 require_once('admin.php');
mp-wp_genesis 11
mp-wp_genesis 12 /** Load WordPress Administration Dashboard API */
mp-wp_genesis 13 require( 'includes/dashboard.php' );
mp-wp_genesis 14
mp-wp_genesis 15 /** Load Magpie RSS API or custom RSS API */
mp-wp_genesis 16 require_once (ABSPATH . WPINC . '/rss.php');
mp-wp_genesis 17
mp-wp_genesis 18 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
mp-wp_genesis 19
mp-wp_genesis 20 switch ( $_GET['jax'] ) {
mp-wp_genesis 21
mp-wp_genesis 22 case 'dashboard_incoming_links' :
mp-wp_genesis 23 wp_dashboard_incoming_links_output();
mp-wp_genesis 24 break;
mp-wp_genesis 25
mp-wp_genesis 26 case 'dashboard_primary' :
mp-wp_genesis 27 wp_dashboard_rss_output( 'dashboard_primary' );
mp-wp_genesis 28 break;
mp-wp_genesis 29
mp-wp_genesis 30 case 'dashboard_secondary' :
mp-wp_genesis 31 wp_dashboard_secondary_output();
mp-wp_genesis 32 break;
mp-wp_genesis 33
mp-wp_genesis 34 case 'dashboard_plugins' :
mp-wp_genesis 35 wp_dashboard_plugins_output();
mp-wp_genesis 36 break;
mp-wp_genesis 37
mp-wp_genesis 38 }
mp-wp_genesis 39
mp-wp_genesis 40 ?>