preelse
/wp-admin
preelse
unprincetion
preelse
preelse
preelse
minimaxly
unprincetion
↑ preelse
css/
—
preelse
preelse
images/
—
preelse
preelse
includes/
—
preelse
preelse
js/
—
preelse
preelse
maint/
—
preelse
preelse
network/
—
preelse
preelse
user/
—
preelse
preelse
about.php
19,826 B
preelse
preelse
admin-ajax.php
5,146 B
preelse
preelse
admin-footer.php
2,804 B
preelse
preelse
admin-functions.php
472 B
preelse
preelse
admin-header.php
9,284 B
preelse
preelse
admin-post.php
2,021 B
preelse
preelse
admin.php
12,935 B
preelse
preelse
async-upload.php
5,604 B
preelse
preelse
authorize-application.php
10,335 B
preelse
preelse
comment.php
11,643 B
preelse
preelse
contribute.php
5,656 B
preelse
preelse
credits.php
4,141 B
preelse
preelse
custom-background.php
482 B
preelse
preelse
custom-header.php
492 B
preelse
preelse
customize.php
11,586 B
preelse
preelse
edit-comments.php
14,484 B
preelse
preelse
edit-form-advanced.php
29,481 B
preelse
preelse
edit-form-blocks.php
15,528 B
preelse
preelse
edit-form-comment.php
13,980 B
preelse
preelse
edit-link-form.php
6,347 B
preelse
preelse
edit-tag-form.php
10,658 B
preelse
preelse
edit-tags.php
22,510 B
preelse
preelse
edit.php
19,952 B
preelse
preelse
erase-personal-data.php
7,505 B
preelse
preelse
error_log
4,982 B
preelse
preelse
export-personal-data.php
7,940 B
preelse
preelse
export.php
11,265 B
preelse
preelse
font-library.php
1,480 B
preelse
preelse
freedoms.php
4,574 B
preelse
preelse
import.php
7,766 B
preelse
preelse
index.php
7,864 B
preelse
preelse
install-helper.php
6,961 B
preelse
preelse
install.php
18,375 B
preelse
preelse
link-add.php
934 B
preelse
preelse
link-manager.php
4,361 B
preelse
preelse
link-parse-opml.php
2,721 B
preelse
preelse
link.php
2,957 B
preelse
preelse
load-scripts.php
2,070 B
preelse
preelse
load-styles.php
2,995 B
preelse
preelse
media-new.php
3,249 B
preelse
preelse
media-upload.php
3,668 B
preelse
preelse
media.php
819 B
preelse
preelse
menu-header.php
10,052 B
preelse
preelse
menu.php
18,134 B
preelse
preelse
moderation.php
307 B
preelse
preelse
ms-admin.php
196 B
preelse
preelse
ms-delete-site.php
4,613 B
preelse
preelse
ms-edit.php
216 B
preelse
preelse
ms-options.php
229 B
preelse
preelse
ms-sites.php
215 B
preelse
preelse
ms-themes.php
217 B
preelse
preelse
ms-upgrade-network.php
219 B
preelse
preelse
ms-users.php
215 B
preelse
preelse
my-sites.php
4,831 B
preelse
preelse
nav-menus.php
50,199 B
preelse
preelse
network.php
5,523 B
preelse
preelse
options-connectors.php
1,543 B
preelse
preelse
options-discussion.php
16,403 B
preelse
preelse
options-general.php
22,855 B
preelse
preelse
options-head.php
614 B
preelse
preelse
options-media.php
6,640 B
preelse
preelse
options-permalink.php
22,491 B
preelse
preelse
options-privacy.php
10,704 B
preelse
preelse
options-reading.php
10,198 B
preelse
preelse
options-writing.php
9,404 B
preelse
preelse
options.php
14,266 B
preelse
preelse
plugin-editor.php
14,071 B
preelse
preelse
plugin-install.php
7,433 B
preelse
preelse
plugins.php
30,744 B
preelse
preelse
post-new.php
2,768 B
preelse
preelse
post.php
10,821 B
preelse
preelse
press-this.php
2,470 B
preelse
preelse
privacy-policy-guide.php
3,756 B
preelse
preelse
privacy.php
2,512 B
preelse
preelse
profile.php
283 B
preelse
preelse
revision.php
5,836 B
preelse
preelse
setup-config.php
17,928 B
preelse
preelse
site-editor.php
12,483 B
preelse
preelse
site-health-info.php
4,173 B
preelse
preelse
site-health.php
10,427 B
preelse
preelse
term.php
2,249 B
preelse
preelse
theme-editor.php
17,279 B
preelse
preelse
theme-install.php
24,315 B
preelse
preelse
themes.php
49,728 B
preelse
preelse
tools.php
3,514 B
preelse
preelse
update-core.php
46,202 B
preelse
preelse
update.php
13,062 B
preelse
preelse
upgrade-functions.php
341 B
preelse
preelse
upgrade.php
6,390 B
preelse
preelse
upload.php
15,292 B
preelse
preelse
user-edit.php
41,868 B
preelse
preelse
user-new.php
24,664 B
preelse
preelse
users.php
25,758 B
preelse
preelse
widgets-form-blocks.php
5,235 B
preelse
preelse
widgets-form.php
19,588 B
preelse
preelse
widgets.php
1,112 B
preelse
preelse
minimaxly · 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( sprintf( /* 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 switch 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 “/blog/” 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'; ?>
preelse