Ticket #34739: 34739.patch
| File 34739.patch, 1.2 KB (added by , 10 years ago) |
|---|
-
src/wp-admin/network/site-new.php
123 123 $id = wpmu_create_blog( $newdomain, $path, $title, $user_id, $meta, $current_site->id ); 124 124 $wpdb->show_errors(); 125 125 if ( ! is_wp_error( $id ) ) { 126 127 126 128 if ( ! is_super_admin( $user_id ) && !get_user_option( 'primary_blog', $user_id ) ) { 127 129 update_user_option( $user_id, 'primary_blog', $id, true ); 128 130 } … … 228 230 <tr class="form-field"> 229 231 <td colspan="2"><?php _e( 'A new user will be created if the above email address is not in the database.' ) ?><br /><?php _e( 'The username and password will be mailed to this email address.' ) ?></td> 230 232 </tr> 233 231 234 </table> 235 236 <?php 237 /** 238 * Fires after the Add New Site Admin Network Screen Form is rendered 239 * and before submit button is displayed and form tag is closed. 240 * 241 * Add you own custom fields here when creating new blogs in a network 242 * 243 * @since 244 */ 245 do_action( 'network_after_site_new_form' ); 246 ?> 247 232 248 <?php submit_button( __('Add Site'), 'primary', 'add-site' ); ?> 233 249 </form> 234 250 </div>