WordPress.org

Make WordPress Core


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

Fix network files. See #14579

File:
1 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' ); ?>
Note: See TracChangeset for help on using the changeset viewer.