Submit
Path:
F:
/
Inetpub
/
vhosts
/
solasmarine.com.tr
/
httpdocs
/
wp-admin
/
File Content:
my-sites.php
<?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';
Edit
Rename
Chmod
Delete
FILE
DIR
INFO
CMD
Name
Size
Permission
Action
css
---
0777
images
---
0777
includes
---
0777
js
---
0777
maint
---
0777
network
---
0777
user
---
0777
about.php
16401bytes
0666
admin-ajax.php
5146bytes
0666
admin-footer.php
2811bytes
0666
admin-functions.php
479bytes
0666
admin-header.php
9291bytes
0666
admin-post.php
2021bytes
0666
admin.php
12935bytes
0666
async-upload.php
5604bytes
0666
authorize-application.php
10335bytes
0666
comment.php
11643bytes
0666
contribute.php
5998bytes
0666
credits.php
4483bytes
0666
custom-background.php
489bytes
0666
custom-header.php
499bytes
0666
customize.php
11476bytes
0666
edit-comments.php
14484bytes
0666
edit-form-advanced.php
29486bytes
0666
edit-form-blocks.php
15084bytes
0666
edit-form-comment.php
8533bytes
0666
edit-link-form.php
6354bytes
0666
edit-tag-form.php
10665bytes
0666
edit-tags.php
22510bytes
0666
edit.php
19952bytes
0666
erase-personal-data.php
7505bytes
0666
export-personal-data.php
7941bytes
0666
export.php
11265bytes
0666
font-library.php
1036bytes
0666
freedoms.php
4916bytes
0666
import.php
7766bytes
0666
index.php
7864bytes
0666
install-helper.php
6961bytes
0666
link-add.php
934bytes
0666
link-manager.php
4361bytes
0666
link-parse-opml.php
2698bytes
0666
link.php
2957bytes
0666
load-scripts.php
2070bytes
0666
load-styles.php
2995bytes
0666
media-new.php
3249bytes
0666
media-upload.php
3668bytes
0666
media.php
819bytes
0666
menu-header.php
10059bytes
0666
menu.php
18141bytes
0666
moderation.php
307bytes
0666
ms-admin.php
196bytes
0666
ms-delete-site.php
4613bytes
0666
ms-edit.php
216bytes
0666
ms-options.php
229bytes
0666
ms-sites.php
215bytes
0666
ms-themes.php
217bytes
0666
ms-upgrade-network.php
219bytes
0666
ms-users.php
215bytes
0666
my-sites.php
4831bytes
0666
nav-menus.php
50251bytes
0666
network.php
5522bytes
0666
options-connectors.php
1096bytes
0666
options-discussion.php
16297bytes
0666
options-general.php
22851bytes
0666
options-head.php
621bytes
0666
options-media.php
6530bytes
0666
options-permalink.php
22416bytes
0666
options-privacy.php
10163bytes
0666
options-reading.php
10213bytes
0666
options-writing.php
9323bytes
0666
options.php
14266bytes
0666
plugin-editor.php
14082bytes
0666
plugin-install.php
7124bytes
0666
plugins.php
30724bytes
0666
post-new.php
2768bytes
0666
post.php
10274bytes
0666
press-this.php
2470bytes
0666
privacy-policy-guide.php
3756bytes
0666
privacy.php
2854bytes
0666
profile.php
283bytes
0666
revision.php
5836bytes
0666
setup-config.php
17945bytes
0666
site-editor.php
12362bytes
0666
site-health-info.php
4150bytes
0666
site-health.php
10421bytes
0666
term.php
2249bytes
0666
theme-editor.php
17279bytes
0666
theme-install.php
24117bytes
0666
themes.php
49075bytes
0666
tools.php
3514bytes
0666
update-core.php
46202bytes
0666
update.php
13062bytes
0666
upgrade-functions.php
341bytes
0666
upgrade.php
6390bytes
0666
upload.php
15257bytes
0666
user-edit.php
41319bytes
0666
user-new.php
24639bytes
0666
users.php
24002bytes
0666
widgets-form-blocks.php
5242bytes
0666
widgets-form.php
19595bytes
0666
widgets.php
1112bytes
0666