Projects : mp-wp : mp-wp_genesis

mp-wp/wp-admin/index-extra.php

Dir - Raw

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