Make WordPress Core

Changeset 15494


Ignore:
Timestamp:
08/12/2010 12:38:46 AM (14 years ago)
Author:
scribu
Message:

Fix network files. See #14579

Location:
trunk/wp-admin/network
Files:
2 edited

Legend:

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

    r15491 r15494  
    110110        $is_main_site = is_main_site( $id );
    111111
    112         require_once( './admin-header.php' );
     112        require_once( '../admin-header.php' );
    113113        ?>
    114114        <div class="wrap">
    115115        <?php screen_icon(); ?>
    116116        <h2><?php _e( 'Edit Site' ); ?> - <a href="<?php echo esc_url( get_home_url( $id ) ); ?>"><?php echo esc_url( get_home_url( $id ) ); ?></a></h2>
    117         <form method="post" action="ms-edit.php?action=updateblog">
     117        <form method="post" action="edit.php?action=updateblog">
    118118            <?php wp_nonce_field( 'editblog' ); ?>
    119119            <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
     
    349349    case 'list':
    350350    default:
    351         require_once( './includes/default-list-tables.php' );
     351        require_once( '../includes/default-list-tables.php' );
    352352
    353353        $table = new WP_Sites_Table;
    354354
    355         require_once( './admin-header.php' );
     355        require_once( '../admin-header.php' );
    356356        ?>
    357357
     
    365365        </h2>
    366366
    367         <form action="ms-sites.php" method="get" id="ms-search">
     367        <form action="" method="get" id="ms-search">
    368368        <p class="search-box">
    369369        <input type="hidden" name="action" value="blogs" />
     
    378378        </form>
    379379
    380         <form id="form-site-list" action="ms-edit.php?action=allblogs" method="post">
     380        <form id="form-site-list" action="edit.php?action=allblogs" method="post">
    381381            <?php $table->display(); ?>
    382382        </form>
     
    385385        <div id="form-add-site" class="wrap">
    386386            <h3><?php _e( 'Add Site' ) ?></h3>
    387             <form method="post" action="ms-edit.php?action=addblog">
     387            <form method="post" action="edit.php?action=addblog">
    388388                <?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ) ?>
    389389                <table class="form-table">
     
    420420} // end switch( $action )
    421421
    422 include( './admin-footer.php' ); ?>
     422require_once( '../admin-footer.php' ); ?>
  • trunk/wp-admin/network/users.php

    r15491 r15494  
    3333);
    3434
    35 require_once( './includes/default-list-tables.php' );
     35require_once( '../includes/default-list-tables.php' );
    3636
    3737$table = new WP_MS_Users_Table;
    3838
    39 require_once( './admin-header.php' );
     39require_once( '../admin-header.php' );
    4040
    4141if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty( $_REQUEST['action'] ) ) {
     
    7575    </h2>
    7676
    77     <form action="ms-users.php" method="get" class="search-form">
     77    <form action="" method="get" class="search-form">
    7878        <p class="search-box">
    7979        <input type="text" name="s" value="<?php echo esc_attr( $s ); ?>" class="search-input" id="user-search-input" />
     
    8282    </form>
    8383
    84     <form id="form-user-list" action='ms-edit.php?action=allusers' method='post'>
     84    <form id="form-user-list" action='edit.php?action=allusers' method='post'>
    8585        <?php $table->display(); ?>
    8686    </form>
     
    9292<div class="wrap" id="form-add-user">
    9393    <h3><?php _e( 'Add User' ) ?></h3>
    94     <form action="ms-edit.php?action=adduser" method="post">
     94    <form action="edit.php?action=adduser" method="post">
    9595    <table class="form-table">
    9696        <tr class="form-field form-required">
     
    111111    </form>
    112112</div>
    113 <?php endif; ?>
     113<?php endif;
    114114
    115 <?php include( './admin-footer.php' ); ?>
     115require_once( '../admin-footer.php' ); ?>
Note: See TracChangeset for help on using the changeset viewer.