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/site-new.php

    r16981 r16986  
    1414    wp_die( __( 'Multisite support is not enabled.' ) );
    1515
    16 if ( ! current_user_can('manage_sites') )
    17     wp_die(__('You do not have sufficient permissions to add sites to this network.'));
     16if ( ! current_user_can( 'manage_sites' ) )
     17    wp_die( __( 'You do not have sufficient permissions to add sites to this network.' ) );
    1818
    1919add_contextual_help($current_screen,
     
    3131        wp_die( __( 'You do not have permission to access this page.' ) );
    3232
    33     if ( is_array( $_POST['blog'] ) == false )
     33    if ( ! is_array( $_POST['blog'] ) )
    3434        wp_die( __( 'Can’t create an empty site.' ) );
    3535    $blog = $_POST['blog'];
Note: See TracChangeset for help on using the changeset viewer.