WordPress.org

Make WordPress Core

Ticket #12051: 12051.2.diff

File 12051.2.diff, 767 bytes (added by nacin, 8 years ago)

Remove inclusion of rss.php

  • wp-admin/index-extra.php

     
    77 */
    88
    99/** Load WordPress Bootstrap */
    10 require_once('admin.php');
     10require_once( 'admin.php' );
    1111
    1212/** Load WordPress Administration Dashboard API */
    1313require( 'includes/dashboard.php' );
    1414
    15 /** Load Magpie RSS API or custom RSS API */
    16 require_once (ABSPATH . WPINC . '/rss.php');
     15@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
    1716
    18 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
    19 
    2017switch ( $_GET['jax'] ) {
    2118
    2219case 'dashboard_incoming_links' :