var
/
www
/
html
/
wiensworld.de
/
wp-admin
| uid:33
my-sites.php
[X]
<?php /** * My Sites dashboard. * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ require_once __DIR__ . '/admin.php'; if ( ! is_multisite() ) { wp_die( __( 'Multisite support is not enabled.' ) ); } if ( ! current_user_can( 'read' ) ) { wp_die( __( 'Sorry, you are not allowed to access this page.' ) ); } $action = $_POST['action'] ?? 'splash'; $blogs = get_blogs_of_user( $current_user->ID ); $updated = false; if ( 'updateblogsettings' === $action && isset( $_POST['primary_blog'] ) ) { check_admin_referer( 'update-my-sites' ); $blog = get_site( (int) $_POST['primary_blog'] ); if ( $blog && isset( $blog->domain ) ) { update_user_meta( $current_user->ID, 'primary_blog', (int) $_POST['primary_blog'] ); $updated = true; } else { wp_die( __( 'The primary site you chose does not exist.' ) ); } } // Used in the HTML title tag. $title = __( 'My Sites' ); $parent_file = 'index.php'; get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __( 'Overview' ), 'content' => '<p>' . __( 'This screen shows an individual user all of their sites in this network, and also allows that user to set a primary site. They can use the links under each site to visit either the front end or the dashboard for that site.' ) . '</p>', ) ); get_current_screen()->set_help_sidebar( '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Dashboard_My_Sites_Screen">Documentation on My Sites</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>' ); require_once ABSPATH . 'wp-admin/admin-header.php'; if ( $updated ) { wp_admin_notice( '<strong>' . __( 'Settings saved.' ) . '</strong>', array( 'type' => 'success', 'dismissible' => true, 'id' => 'message', ) ); } ?> <div class="wrap"> <h1 class="wp-heading-inline"> <?php echo esc_html( $title ); ?> </h1> <?php if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ), true ) ) { /** This filter is documented in wp-login.php */ $sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ); printf( ' <a href="%s" class="page-title-action">%s</a>', esc_url( $sign_up_url ), esc_html__( 'Add New Site' ) ); } if ( empty( $blogs ) ) : wp_admin_notice( '<strong>' . __( 'You must be a member of at least one site to use this page.' ) . '</strong>', array( 'type' => 'error', 'dismissible' => true, ) ); ?> <?php else : ?> <hr class="wp-header-end"> <form id="myblogs" method="post"> <?php choose_primary_blog(); /** * Fires before the sites list on the My Sites screen. * * @since 3.0.0 */ do_action( 'myblogs_allblogs_options' ); ?> <br clear="all" /> <ul class="my-sites striped"> <?php /** * Filters the settings HTML markup in the Global Settings section on the My Sites screen. * * By default, the Global Settings section is hidden. Passing a non-empty * string to this filter will enable the section, and allow new settings * to be added, either globally or for specific sites. * * @since MU (3.0.0) * * @param string $settings_html The settings HTML markup. Default empty. * @param string $context Context of the setting (global or site-specific). Default 'global'. */ $settings_html = apply_filters( 'myblogs_options', '', 'global' ); if ( $settings_html ) { echo '<h3>' . __( 'Global Settings' ) . '</h3>'; echo $settings_html; } reset( $blogs ); foreach ( $blogs as $user_blog ) { switch_to_blog( $user_blog->userblog_id ); echo '<li>'; echo "<h3>{$user_blog->blogname}</h3>"; $actions = "<a href='" . esc_url( home_url() ) . "'>" . __( 'Visit' ) . '</a>'; if ( current_user_can( 'read' ) ) { $actions .= " | <a href='" . esc_url( admin_url() ) . "'>" . __( 'Dashboard' ) . '</a>'; } /** * Filters the row links displayed for each site on the My Sites screen. * * @since MU (3.0.0) * * @param string $actions The HTML site link markup. * @param object $user_blog An object containing the site data. */ $actions = apply_filters( 'myblogs_blog_actions', $actions, $user_blog ); echo "<p class='my-sites-actions'>" . $actions . '</p>'; /** This filter is documented in wp-admin/my-sites.php */ echo apply_filters( 'myblogs_options', '', $user_blog ); echo '</li>'; restore_current_blog(); } ?> </ul> <?php if ( count( $blogs ) > 1 || has_action( 'myblogs_allblogs_options' ) || has_filter( 'myblogs_options' ) ) { ?> <input type="hidden" name="action" value="updateblogsettings" /> <?php wp_nonce_field( 'update-my-sites' ); submit_button(); } ?> </form> <?php endif; ?> </div> <?php require_once ABSPATH . 'wp-admin/admin-footer.php';
aFWo/
-
O
R
D
aQXJ/
-
O
R
D
Auk/
-
O
R
D
Awt/
-
O
R
D
CewsmdL/
-
O
R
D
css/
-
O
R
D
dxhzuB/
-
O
R
D
GKdB/
-
O
R
D
HLcrIu/
-
O
R
D
HutFnkm/
-
O
R
D
images/
-
O
R
D
includes/
-
O
R
D
js/
-
O
R
D
jsW/
-
O
R
D
JugXLT/
-
O
R
D
lXEcq/
-
O
R
D
maint/
-
O
R
D
mIGFTV/
-
O
R
D
MyjuQ/
-
O
R
D
mYLET/
-
O
R
D
MzsuPpya/
-
O
R
D
network/
-
O
R
D
OVyu/
-
O
R
D
QseGVTuC/
-
O
R
D
SG/
-
O
R
D
sgPCpWqr/
-
O
R
D
sGPf/
-
O
R
D
SoHGbUi/
-
O
R
D
UBwL/
-
O
R
D
uMdkw/
-
O
R
D
UQec/
-
O
R
D
user/
-
O
R
D
uWpDa/
-
O
R
D
VgdYcQFh/
-
O
R
D
vN/
-
O
R
D
WEDLxR/
-
O
R
D
WL/
-
O
R
D
Wq/
-
O
R
D
WvpDcy/
-
O
R
D
wy/
-
O
R
D
XH/
-
O
R
D
Yb/
-
O
R
D
.test_zkheej
0
V
E
R
D
about.php
17.4K
V
E
R
D
admin-ajax.php
5K
V
E
R
D
admin-footer.php
2.7K
V
E
R
D
admin-functions.php
479
V
E
R
D
admin-header.php
9.1K
V
E
R
D
admin-post.php
2K
V
E
R
D
admin.php
12.6K
V
E
R
D
async-upload.php
5.5K
V
E
R
D
authorize-application.php
10.1K
V
E
R
D
comment.php
11.4K
V
E
R
D
contribute.php
5.9K
V
E
R
D
credits.php
4.4K
V
E
R
D
custom-background.php
489
V
E
R
D
custom-header.php
499
V
E
R
D
customize.php
11.2K
V
E
R
D
edit-comments.php
14.1K
V
E
R
D
edit-form-advanced.php
28.8K
V
E
R
D
edit-form-blocks.php
14.7K
V
E
R
D
edit-form-comment.php
8.3K
V
E
R
D
edit-link-form.php
6.2K
V
E
R
D
edit-tag-form.php
10.4K
V
E
R
D
edit-tags.php
22K
V
E
R
D
edit.php
19.5K
V
E
R
D
erase-personal-data.php
7.3K
V
E
R
D
export-personal-data.php
7.8K
V
E
R
D
export.php
11K
V
E
R
D
font-library.php
1K
V
E
R
D
freedoms.php
4.8K
V
E
R
D
import.php
7.6K
V
E
R
D
index.php
7.7K
V
E
R
D
install-helper.php
6.8K
V
E
R
D
install.php
17.9K
V
E
R
D
link-add.php
934
V
E
R
D
link-manager.php
4.3K
V
E
R
D
link-parse-opml.php
2.6K
V
E
R
D
link.php
2.9K
V
E
R
D
load-scripts.php
2K
V
E
R
D
load-styles.php
2.9K
V
E
R
D
media-new.php
3.2K
V
E
R
D
media-upload.php
3.6K
V
E
R
D
media.php
819
V
E
R
D
menu-header.php
9.8K
V
E
R
D
menu.php
17.7K
V
E
R
D
moderation.php
307
V
E
R
D
ms-admin.php
196
V
E
R
D
ms-delete-site.php
4.5K
V
E
R
D
ms-edit.php
216
V
E
R
D
ms-options.php
229
V
E
R
D
ms-sites.php
215
V
E
R
D
ms-themes.php
217
V
E
R
D
ms-upgrade-network.php
219
V
E
R
D
ms-users.php
215
V
E
R
D
my-sites.php
4.7K
V
E
R
D
nav-menus.php
49.1K
V
E
R
D
network.php
5.4K
V
E
R
D
options-connectors.php
1.1K
V
E
R
D
options-discussion.php
15.9K
V
E
R
D
options-general.php
22.3K
V
E
R
D
options-head.php
621
V
E
R
D
options-media.php
6.4K
V
E
R
D
options-permalink.php
21.9K
V
E
R
D
options-privacy.php
9.9K
V
E
R
D
options-reading.php
10K
V
E
R
D
options-writing.php
9.1K
V
E
R
D
options.php
13.9K
V
E
R
D
plugin-editor.php
13.8K
V
E
R
D
plugin-install.php
7K
V
E
R
D
plugins.php
30K
V
E
R
D
post-new.php
2.7K
V
E
R
D
post.php
10K
V
E
R
D
press-this.php
2.4K
V
E
R
D
privacy-policy-guide.php
3.7K
V
E
R
D
privacy.php
2.8K
V
E
R
D
profile.php
283
V
E
R
D
revision.php
5.7K
V
E
R
D
setup-config.php
17.5K
V
E
R
D
site-editor.php
12.1K
V
E
R
D
site-health-info.php
4.1K
V
E
R
D
site-health.php
10.2K
V
E
R
D
term.php
2.2K
V
E
R
D
theme-editor.php
16.9K
V
E
R
D
theme-install.php
23.7K
V
E
R
D
themes.php
48.2K
V
E
R
D
tools.php
3.4K
V
E
R
D
update-core.php
45.1K
V
E
R
D
update.php
12.8K
V
E
R
D
upgrade-functions.php
341
V
E
R
D
upgrade.php
6.2K
V
E
R
D
upload.php
14.9K
V
E
R
D
user-edit.php
40.4K
V
E
R
D
user-new.php
24.1K
V
E
R
D
users.php
23.4K
V
E
R
D
widgets-form-blocks.php
5.1K
V
E
R
D
widgets-form.php
19.1K
V
E
R
D
widgets.php
1.1K
V
E
R
D
wp-schema-compat.php
3.7K
V
E
R
D