Changeset 26236
- Timestamp:
- 11/16/2013 05:37:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-new.php
r25962 r26236 34 34 check_admin_referer( 'add-blog', '_wpnonce_add-blog' ); 35 35 36 if ( ! current_user_can( 'manage_sites' ) )37 wp_die( __( 'You do not have permission to access this page.' ) );38 39 36 if ( ! is_array( $_POST['blog'] ) ) 40 37 wp_die( __( 'Can’t create an empty site.' ) ); 38 41 39 $blog = $_POST['blog']; 42 40 $domain = '';
Note: See TracChangeset
for help on using the changeset viewer.