Ticket #16909: 16909.2.patch
File 16909.2.patch, 841 bytes (added by , 14 years ago) |
---|
-
wp-admin/network/edit.php
### Eclipse Workspace Patch 1.0 #P wordpress-trunk
14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 16 if ( empty( $_GET['action'] ) ) { 17 wp_redirect( admin_url( 'index.php' ) );17 wp_redirect( self_admin_url( 'index.php' ) ); 18 18 exit; 19 19 } 20 20 -
wp-admin/user/admin.php
12 12 require_once( dirname(dirname(__FILE__)) . '/admin.php'); 13 13 14 14 if ( ! is_multisite() ) { 15 wp_redirect( admin_url() );15 wp_redirect( self_admin_url() ); 16 16 exit; 17 17 } 18 18