Make WordPress Core


Ignore:
Timestamp:
06/10/2011 06:31:39 AM (13 years ago)
Author:
dd32
Message:

Cache the Dashboard RSS Widgets HTML output to reduce the memory footprint of including SimplePie. Fixes #16927

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/index-extra.php

    r17743 r18228  
    66 * @subpackage Administration
    77 */
     8
     9define('DOING_AJAX', true);
    810
    911/** Load WordPress Bootstrap */
     
    1921
    2022case 'dashboard_incoming_links' :
    21     wp_dashboard_incoming_links_output();
     23    wp_dashboard_incoming_links();
    2224    break;
    2325
    2426case 'dashboard_primary' :
    25     wp_dashboard_rss_output( 'dashboard_primary' );
     27    wp_dashboard_primary();
    2628    break;
    2729
    2830case 'dashboard_secondary' :
    29     wp_dashboard_secondary_output();
     31    wp_dashboard_secondary();
    3032    break;
    3133
    3234case 'dashboard_plugins' :
    33     wp_dashboard_plugins_output();
     35    wp_dashboard_plugins();
    3436    break;
    3537
Note: See TracChangeset for help on using the changeset viewer.