source: trunk/www.guidonia.net/wp/wp-admin/index-extra.php@ 44

Last change on this file since 44 was 44, checked in by luciano, 14 years ago
File size: 797 bytes
Line 
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?>
Note: See TracBrowser for help on using the repository browser.