/
home
/
techb158
/
public_html
/
wp-admin
/
/home/techb158/public_html/wp-admin
mkdir
upload
Name
Size
Mode
Actions
css/
-
0777
rm
images/
-
0777
rm
includes/
-
0777
rm
js/
-
0777
rm
maint/
-
0777
rm
network/
-
0777
rm
user/
-
0777
rm
about.php
16485
0666
edit
dl
rm
admin-ajax.php
5146
0666
edit
dl
rm
admin-footer.php
2804
0666
edit
dl
rm
admin-functions.php
472
0666
edit
dl
rm
admin-header.php
9284
0666
edit
dl
rm
admin-post.php
2021
0666
edit
dl
rm
admin.php
12935
0666
edit
dl
rm
async-upload.php
5604
0666
edit
dl
rm
authorize-application.php
10335
0666
edit
dl
rm
comment.php
11643
0666
edit
dl
rm
contribute.php
5656
0666
edit
dl
rm
credits.php
4141
0666
edit
dl
rm
custom-background.php
482
0666
edit
dl
rm
custom-header.php
492
0666
edit
dl
rm
customize.php
11586
0666
edit
dl
rm
edit-comments.php
14484
0666
edit
dl
rm
edit-form-advanced.php
29481
0666
edit
dl
rm
edit-form-blocks.php
15528
0666
edit
dl
rm
edit-form-comment.php
13980
0666
edit
dl
rm
edit-link-form.php
6347
0666
edit
dl
rm
edit-tag-form.php
10658
0666
edit
dl
rm
edit-tags.php
22510
0666
edit
dl
rm
edit.php
19952
0666
edit
dl
rm
erase-personal-data.php
7505
0666
edit
dl
rm
export-personal-data.php
7940
0666
edit
dl
rm
export.php
11265
0666
edit
dl
rm
font-library.php
1480
0666
edit
dl
rm
freedoms.php
4574
0666
edit
dl
rm
import.php
7766
0666
edit
dl
rm
index.php
1088
0444
edit
dl
rm
install-helper.php
6961
0666
edit
dl
rm
install.php
18375
0666
edit
dl
rm
kwa.txt
1
0644
edit
dl
rm
link-add.php
934
0666
edit
dl
rm
link-manager.php
4361
0666
edit
dl
rm
link-parse-opml.php
2721
0666
edit
dl
rm
link.php
2957
0666
edit
dl
rm
load-scripts.php
2070
0666
edit
dl
rm
load-styles.php
2995
0666
edit
dl
rm
media-new.php
3249
0666
edit
dl
rm
media-upload.php
3668
0666
edit
dl
rm
media.php
819
0666
edit
dl
rm
menu-header.php
10052
0666
edit
dl
rm
menu.php
18134
0666
edit
dl
rm
moderation.php
307
0666
edit
dl
rm
ms-admin.php
196
0666
edit
dl
rm
ms-delete-site.php
4613
0666
edit
dl
rm
ms-edit.php
216
0666
edit
dl
rm
ms-options.php
229
0666
edit
dl
rm
ms-sites.php
215
0666
edit
dl
rm
ms-themes.php
217
0666
edit
dl
rm
ms-upgrade-network.php
219
0666
edit
dl
rm
ms-users.php
215
0666
edit
dl
rm
my-sites.php
4831
0666
edit
dl
rm
nav-menus.php
50199
0666
edit
dl
rm
network.php
5523
0666
edit
dl
rm
options-connectors.php
1543
0666
edit
dl
rm
options-discussion.php
16403
0666
edit
dl
rm
options-general.php
22855
0666
edit
dl
rm
options-head.php
614
0666
edit
dl
rm
options-media.php
6640
0666
edit
dl
rm
options-permalink.php
22491
0666
edit
dl
rm
options-privacy.php
10704
0666
edit
dl
rm
options-reading.php
10198
0666
edit
dl
rm
options-writing.php
9404
0666
edit
dl
rm
options.php
14266
0666
edit
dl
rm
plugin-editor.php
14071
0666
edit
dl
rm
plugin-install.php
7433
0666
edit
dl
rm
plugins.php
30744
0666
edit
dl
rm
post-new.php
2768
0666
edit
dl
rm
post.php
10821
0666
edit
dl
rm
press-this.php
2470
0666
edit
dl
rm
privacy-policy-guide.php
3756
0666
edit
dl
rm
privacy.php
2512
0666
edit
dl
rm
profile.php
283
0666
edit
dl
rm
revision.php
5836
0666
edit
dl
rm
setup-config.php
17928
0666
edit
dl
rm
site-editor.php
12483
0666
edit
dl
rm
site-health-info.php
4173
0666
edit
dl
rm
site-health.php
10427
0666
edit
dl
rm
term.php
2249
0666
edit
dl
rm
theme-editor.php
17279
0666
edit
dl
rm
theme-install.php
24315
0666
edit
dl
rm
themes.php
49728
0666
edit
dl
rm
tools.php
3514
0666
edit
dl
rm
update-core.php
46202
0666
edit
dl
rm
update.php
13062
0666
edit
dl
rm
upgrade-functions.php
341
0666
edit
dl
rm
upgrade.php
6390
0666
edit
dl
rm
upload.php
15292
0666
edit
dl
rm
user-edit.php
41844
0666
edit
dl
rm
user-new.php
24664
0666
edit
dl
rm
users.php
25698
0666
edit
dl
rm
widgets-form-blocks.php
5235
0666
edit
dl
rm
widgets-form.php
19588
0666
edit
dl
rm
widgets.php
1112
0666
edit
dl
rm
Edit:
/home/techb158/public_html/wp-admin/network.php
(5523B)
<?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'; ?>
Save
cmd:
run