WordPress.org

Make WordPress Core

Changeset 18564


Ignore:
Timestamp:
08/18/2011 06:17:47 AM (9 years ago)
Author:
nacin
Message:

Redirect to network_admin_url() in network/edit.php. props PeteMall, fixes #18379.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/edit.php

    r18562 r18564  
    1515
    1616if ( empty( $_GET['action'] ) ) {
    17     wp_redirect( admin_url( 'index.php' ) );
     17    wp_redirect( network_admin_url() );
    1818    exit;
    1919}
    2020
    21 do_action( 'wpmuadminedit' , '');
     21do_action( 'wpmuadminedit' , '' );
    2222
    2323// Let plugins use us as a post handler easily
    2424do_action( 'network_admin_edit_' . $_GET['action'] );
    25 wp_redirect( network_admin_url( 'index.php' ) );
     25
     26wp_redirect( network_admin_url() );
    2627exit();
    2728
Note: See TracChangeset for help on using the changeset viewer.