mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 18:13:00 +01:00
Don't load deprecated magpie for dashboard. Props nacin. fixes #12051
git-svn-id: https://develop.svn.wordpress.org/trunk@12869 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2525f1169b
commit
63ed4250a9
@ -7,15 +7,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** Load WordPress Bootstrap */
|
/** Load WordPress Bootstrap */
|
||||||
require_once('admin.php');
|
require_once( 'admin.php' );
|
||||||
|
|
||||||
/** Load WordPress Administration Dashboard API */
|
/** Load WordPress Administration Dashboard API */
|
||||||
require( 'includes/dashboard.php' );
|
require( 'includes/dashboard.php' );
|
||||||
|
|
||||||
/** Load Magpie RSS API or custom RSS API */
|
@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
|
||||||
require_once (ABSPATH . WPINC . '/rss.php');
|
|
||||||
|
|
||||||
@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
|
|
||||||
|
|
||||||
switch ( $_GET['jax'] ) {
|
switch ( $_GET['jax'] ) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user