[ Index ]

PHP Cross Reference of WordPress 3.0 beta 1

[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/wp-admin/ -> index-extra.php (source)

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


Generated: Mon Apr 5 14:26:09 2010 Cross-referenced by PHPXref 0.7