2006-11-19 00:12:39 +01:00
|
|
|
<?php
|
2008-08-11 22:26:31 +02:00
|
|
|
/**
|
|
|
|
* Handle default dashboard widgets options AJAX.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** Load WordPress Bootstrap */
|
2010-01-27 15:02:16 +01:00
|
|
|
require_once( 'admin.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/** Load WordPress Administration Dashboard API */
|
2008-02-21 22:20:09 +01:00
|
|
|
require( 'includes/dashboard.php' );
|
2008-08-11 22:26:31 +02:00
|
|
|
|
2010-01-27 15:02:16 +01:00
|
|
|
@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
|
2007-02-06 21:12:53 +01:00
|
|
|
|
2008-02-02 08:57:51 +01:00
|
|
|
switch ( $_GET['jax'] ) {
|
2007-08-17 13:08:00 +02:00
|
|
|
|
2008-10-09 01:32:34 +02:00
|
|
|
case 'dashboard_incoming_links' :
|
2008-02-21 22:20:09 +01:00
|
|
|
wp_dashboard_incoming_links_output();
|
|
|
|
break;
|
2006-11-19 00:12:39 +01:00
|
|
|
|
2008-10-09 01:32:34 +02:00
|
|
|
case 'dashboard_primary' :
|
2008-02-21 22:20:09 +01:00
|
|
|
wp_dashboard_rss_output( 'dashboard_primary' );
|
|
|
|
break;
|
2006-11-19 00:12:39 +01:00
|
|
|
|
2008-10-09 01:32:34 +02:00
|
|
|
case 'dashboard_secondary' :
|
2008-02-21 22:20:09 +01:00
|
|
|
wp_dashboard_secondary_output();
|
|
|
|
break;
|
2008-02-20 04:23:34 +01:00
|
|
|
|
2008-10-09 01:32:34 +02:00
|
|
|
case 'dashboard_plugins' :
|
2008-02-21 22:20:09 +01:00
|
|
|
wp_dashboard_plugins_output();
|
|
|
|
break;
|
2008-02-20 04:23:34 +01:00
|
|
|
|
2006-11-19 00:12:39 +01:00
|
|
|
}
|
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
?>
|