Make WordPress Core


Ignore:
Timestamp:
12/16/2010 07:41:38 AM (14 years ago)
Author:
nacin
Message:

Minor cleanups.

File:
1 edited

Legend:

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

    r16847 r16986  
    175175            wp_die( __( 'You do not have permission to access this page.' ) );
    176176
    177         if ( $id != '0' && $id != $current_site->blog_id && current_user_can ( 'delete_site', $id ) ) {
     177        if ( $id != '0' && $id != $current_site->blog_id && current_user_can( 'delete_site', $id ) ) {
    178178            wpmu_delete_blog( $id, true );
    179179            wp_redirect( add_query_arg( array( 'updated' => 'true', 'action' => 'delete' ), wp_get_referer() ) );
Note: See TracChangeset for help on using the changeset viewer.