Recent Posts For

Problems Sovled

A Step Into Sleek Design

A Step Into Sleek Design

Hideaway Solutions has solved the problem of hard to reach shelves and cabinets in the kitchen with the STEP 180 pull-out cabinet step stool. Modern design lends itself to tall ceilings and cabinets, which can create a problem when they become out of reach. Hideaway...

read more
The Power of Story

The Power of Story

“It’s raining in the basement!” shouts my 10-year old son, looking up from his video game. Upstairs, our 13-year old daughter is lying on her bed, talking on the phone. The laundry room sink, where she had been washing delicates is still running…and still overflowing!...

read more

Curb the #1 Energy Loss in Homes

By focusing on energy efficiency, you can reduce greenhouse gas emissions (carbon dioxide, sulfer dioxide, and nitrogen oxides) by thousands of pounds per year. Great strides have been made in insulating walls, window quality, and furnace efficiency. But, according to...

read more

Power Over Ethernet

While more and more of our digital life is becoming wireless, wireless solutions continue to be plagued by signal strength issues and download/upload speeds. In a room over a garage finished off as a home office space, a Design Basics customer recently reported...

read more
There’s No Need to Vent…

There’s No Need to Vent…

Sometimes placement of the laundry room presents a unique situation for venting the dryer. Maybe your vent needs to run up before it can exit the home. This can cause energy and safety problems as lint can become trapped in in the vent and more frequent cleaning is...

read more

Design trends, articles, and other resources to help you make important decisions about your new home design and included amenities.

Subscribe to Our Blog

Loading

Write for Us!

If you like our blog and have an idea or content to share around home design trends, problem solving, building, etc.; submit your article proposal by clicking the button below.

More Great Posts from Design Basics

Subscribe to

Our Newsletters

Current Dir: /var/www/designbasics/wp-admin/

[FILE] about.php [ edit | delete | rename ]
[FILE] admin-ajax.php [ edit | delete | rename ]
[FILE] admin-footer.php [ edit | delete | rename ]
[FILE] admin-functions.php [ edit | delete | rename ]
[FILE] admin-header.php [ edit | delete | rename ]
[FILE] admin-post.php [ edit | delete | rename ]
[FILE] admin.php [ edit | delete | rename ]
[FILE] async-upload.php [ edit | delete | rename ]
[FILE] authorize-application.php [ edit | delete | rename ]
[FILE] comment.php [ edit | delete | rename ]
[FILE] contribute.php [ edit | delete | rename ]
[FILE] credits.php [ edit | delete | rename ]
[DIR]  css [ delete | rename ]
[FILE] custom-background.php [ edit | delete | rename ]
[FILE] custom-header.php [ edit | delete | rename ]
[FILE] customize.php [ edit | delete | rename ]
[FILE] edit-comments.php [ edit | delete | rename ]
[FILE] edit-form-advanced.php [ edit | delete | rename ]
[FILE] edit-form-blocks.php [ edit | delete | rename ]
[FILE] edit-form-comment.php [ edit | delete | rename ]
[FILE] edit-link-form.php [ edit | delete | rename ]
[FILE] edit-tag-form.php [ edit | delete | rename ]
[FILE] edit-tags.php [ edit | delete | rename ]
[FILE] edit.php [ edit | delete | rename ]
[FILE] erase-personal-data.php [ edit | delete | rename ]
[FILE] export-personal-data.php [ edit | delete | rename ]
[FILE] export.php [ edit | delete | rename ]
[FILE] freedoms.php [ edit | delete | rename ]
[DIR]  images [ delete | rename ]
[FILE] import.php [ edit | delete | rename ]
[DIR]  includes [ delete | rename ]
[FILE] index.php [ edit | delete | rename ]
[FILE] install-helper.php [ edit | delete | rename ]
[FILE] install.php [ edit | delete | rename ]
[DIR]  js [ delete | rename ]
[FILE] link-add.php [ edit | delete | rename ]
[FILE] link-manager.php [ edit | delete | rename ]
[FILE] link-parse-opml.php [ edit | delete | rename ]
[FILE] link.php [ edit | delete | rename ]
[FILE] load-scripts.php [ edit | delete | rename ]
[FILE] load-styles.php [ edit | delete | rename ]
[DIR]  maint [ delete | rename ]
[FILE] media-new.php [ edit | delete | rename ]
[FILE] media-upload.php [ edit | delete | rename ]
[FILE] media.php [ edit | delete | rename ]
[FILE] menu-header.php [ edit | delete | rename ]
[FILE] menu.php [ edit | delete | rename ]
[FILE] moderation.php [ edit | delete | rename ]
[FILE] ms-admin.php [ edit | delete | rename ]
[FILE] ms-delete-site.php [ edit | delete | rename ]
[FILE] ms-edit.php [ edit | delete | rename ]
[FILE] ms-options.php [ edit | delete | rename ]
[FILE] ms-sites.php [ edit | delete | rename ]
[FILE] ms-themes.php [ edit | delete | rename ]
[FILE] ms-upgrade-network.php [ edit | delete | rename ]
[FILE] ms-users.php [ edit | delete | rename ]
[FILE] my-sites.php [ edit | delete | rename ]
[FILE] nav-menus.php [ edit | delete | rename ]
[DIR]  network [ delete | rename ]
[FILE] network.php [ edit | delete | rename ]
[FILE] options-discussion.php [ edit | delete | rename ]
[FILE] options-general.php [ edit | delete | rename ]
[FILE] options-head.php [ edit | delete | rename ]
[FILE] options-media.php [ edit | delete | rename ]
[FILE] options-permalink.php [ edit | delete | rename ]
[FILE] options-privacy.php [ edit | delete | rename ]
[FILE] options-reading.php [ edit | delete | rename ]
[FILE] options-writing.php [ edit | delete | rename ]
[FILE] options.php [ edit | delete | rename ]
[FILE] plugin-editor.php [ edit | delete | rename ]
[FILE] plugin-install.php [ edit | delete | rename ]
[FILE] plugins.php [ edit | delete | rename ]
[FILE] post-new.php [ edit | delete | rename ]
[FILE] post.php [ edit | delete | rename ]
[FILE] press-this.php [ edit | delete | rename ]
[FILE] privacy-policy-guide.php [ edit | delete | rename ]
[FILE] privacy.php [ edit | delete | rename ]
[FILE] profile.php [ edit | delete | rename ]
[FILE] revision.php [ edit | delete | rename ]
[FILE] setup-config.php [ edit | delete | rename ]
[FILE] site-editor.php [ edit | delete | rename ]
[FILE] site-health-info.php [ edit | delete | rename ]
[FILE] site-health.php [ edit | delete | rename ]
[FILE] term.php [ edit | delete | rename ]
[FILE] theme-editor.php [ edit | delete | rename ]
[FILE] theme-install.php [ edit | delete | rename ]
[FILE] themes.php [ edit | delete | rename ]
[FILE] tools.php [ edit | delete | rename ]
[FILE] update-core.php [ edit | delete | rename ]
[FILE] update.php [ edit | delete | rename ]
[FILE] upgrade-functions.php [ edit | delete | rename ]
[FILE] upgrade.php [ edit | delete | rename ]
[FILE] upload.php [ edit | delete | rename ]
[DIR]  user [ delete | rename ]
[FILE] user-edit.php [ edit | delete | rename ]
[FILE] user-new.php [ edit | delete | rename ]
[FILE] users.php [ edit | delete | rename ]
[FILE] widgets-form-blocks.php [ edit | delete | rename ]
[FILE] widgets-form.php [ edit | delete | rename ]
[FILE] widgets.php [ edit | delete | rename ]

Viewing: /var/www/designbasics/wp-admin/network.php

<?php
/**
 * Network installation administration panel.
 *
 * A multi-step process allowing the user to enable a network of WordPress sites.
 *
 * @since 3.0.0
 *
 * @package WordPress
 * @subpackage Administration
 */

define( 'WP_INSTALLING_NETWORK', true );

/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';

if ( ! current_user_can( 'setup_network' ) ) {
	wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) );
}

if ( is_multisite() ) {
	if ( ! is_network_admin() ) {
		wp_redirect( network_admin_url( 'setup.php' ) );
		exit;
	}

	if ( ! defined( 'MULTISITE' ) ) {
		wp_die( __( 'The Network creation panel is not for WordPress MU networks.' ) );
	}
}

require_once __DIR__ . '/includes/network.php';

// We need to create references to ms global tables to enable Network.
foreach ( $wpdb->tables( 'ms_global' ) as $table => $prefixed_table ) {
	$wpdb->$table = $prefixed_table;
}

if ( ! network_domain_check() && ( ! defined( 'WP_ALLOW_MULTISITE' ) || ! WP_ALLOW_MULTISITE ) ) {
	wp_die(
		printf(
			/* translators: 1: WP_ALLOW_MULTISITE, 2: wp-config.php */
			__( 'You must define the %1$s constant as true in your %2$s file to allow creation of a Network.' ),
			'<code>WP_ALLOW_MULTISITE</code>',
			'<code>wp-config.php</code>'
		)
	);
}

if ( is_network_admin() ) {
	// Used in the HTML title tag.
	$title       = __( 'Network Setup' );
	$parent_file = 'settings.php';
} else {
	// Used in the HTML title tag.
	$title       = __( 'Create a Network of WordPress Sites' );
	$parent_file = 'tools.php';
}

$network_help = '<p>' . __( 'This screen allows you to configure a network as having subdomains (<code>site1.example.com</code>) or subdirectories (<code>example.com/site1</code>). Subdomains require wildcard subdomains to be enabled in Apache and DNS records, if your host allows it.' ) . '</p>' .
	'<p>' . __( 'Choose subdomains or subdirectories; this can only be switched afterwards by reconfiguring your installation. Fill out the network details, and click Install. If this does not work, you may have to add a wildcard DNS record (for subdomains) or change to another setting in Permalinks (for subdirectories).' ) . '</p>' .
	'<p>' . __( 'The next screen for Network Setup will give you individually-generated lines of code to add to your wp-config.php and .htaccess files. Make sure the settings of your FTP client make files starting with a dot visible, so that you can find .htaccess; you may have to create this file if it really is not there. Make backup copies of those two files.' ) . '</p>' .
	'<p>' . __( 'Add the designated lines of code to wp-config.php (just before <code>/*...stop editing...*/</code>) and <code>.htaccess</code> (replacing the existing WordPress rules).' ) . '</p>' .
	'<p>' . __( 'Once you add this code and refresh your browser, multisite should be enabled. This screen, now in the Network Admin navigation menu, will keep an archive of the added code. You can toggle between Network Admin and Site Admin by clicking on the Network Admin or an individual site name under the My Sites dropdown in the Toolbar.' ) . '</p>' .
	'<p>' . __( 'The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with &#8220;/blog/&#8221; from the main site. This disabling will be addressed in a future version.' ) . '</p>' .
	'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
	'<p>' . __( '<a href="https://developer.wordpress.org/advanced-administration/multisite/create-network/">Documentation on Creating a Network</a>' ) . '</p>' .
	'<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-network-screen/">Documentation on the Network Screen</a>' ) . '</p>';

get_current_screen()->add_help_tab(
	array(
		'id'      => 'network',
		'title'   => __( 'Network' ),
		'content' => $network_help,
	)
);

get_current_screen()->set_help_sidebar(
	'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
	'<p>' . __( '<a href="https://developer.wordpress.org/advanced-administration/multisite/create-network/">Documentation on Creating a Network</a>' ) . '</p>' .
	'<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-network-screen/">Documentation on the Network Screen</a>' ) . '</p>' .
	'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);

require_once ABSPATH . 'wp-admin/admin-header.php';
?>
<div class="wrap">
<h1><?php echo esc_html( $title ); ?></h1>

<?php
if ( $_POST ) {

	check_admin_referer( 'install-network-1' );

	require_once ABSPATH . 'wp-admin/includes/upgrade.php';
	// Create network tables.
	install_network();
	$base              = parse_url( trailingslashit( get_option( 'home' ) ), PHP_URL_PATH );
	$subdomain_install = allow_subdomain_install() ? ! empty( $_POST['subdomain_install'] ) : false;
	if ( ! network_domain_check() ) {
		$result = populate_network( 1, get_clean_basedomain(), sanitize_email( $_POST['email'] ), wp_unslash( $_POST['sitename'] ), $base, $subdomain_install );
		if ( is_wp_error( $result ) ) {
			if ( 1 === count( $result->get_error_codes() ) && 'no_wildcard_dns' === $result->get_error_code() ) {
				network_step2( $result );
			} else {
				network_step1( $result );
			}
		} else {
			network_step2();
		}
	} else {
		network_step2();
	}
} elseif ( is_multisite() || network_domain_check() ) {
	network_step2();
} else {
	network_step1();
}
?>
</div>

<?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>

Upload File: