7.4.33 | Linux x86_64
Server128.199.10.0
Userwww-data (uid:33)
PHP7.4.33 (apache2handler)
Terminal
Upload
Files: /var/www/html/wp-admin
View: 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();
NameSizeActions
about.php16KView Edit Del
admin-ajax.php5KView Edit Del
admin-footer.php2.7KView Edit Del
admin-functions.php479BView Edit Del
admin-header.php9.1KView Edit Del
admin-post.php2KView Edit Del
admin.php12.6KView Edit Del
async-upload.php5.5KView Edit Del
authorize-application.php10.1KView Edit Del
comment.php11.4KView Edit Del
contribute.php5.9KView Edit Del
credits.php4.4KView Edit Del
css/--
custom-background.php489BView Edit Del
custom-header.php499BView Edit Del
customize.php11.2KView Edit Del
edit-comments.php14.1KView Edit Del
edit-form-advanced.php28.8KView Edit Del
edit-form-blocks.php14.7KView Edit Del
edit-form-comment.php8.3KView Edit Del
edit-link-form.php6.2KView Edit Del
edit-tag-form.php10.4KView Edit Del
edit-tags.php22KView Edit Del
edit.php19.5KView Edit Del
erase-personal-data.php7.3KView Edit Del
export-personal-data.php7.8KView Edit Del
export.php11KView Edit Del
font-library.php1KView Edit Del
freedoms.php4.8KView Edit Del
images/--
import.php7.6KView Edit Del
includes/--
index.php7.7KView Edit Del
install-helper.php6.8KView Edit Del
install.php17.9KView Edit Del
js/--
link-add.php934BView Edit Del
link-manager.php4.3KView Edit Del
link-parse-opml.php2.6KView Edit Del
link.php2.9KView Edit Del
load-scripts.php2KView Edit Del
load-styles.php2.9KView Edit Del
maint/--
media-new.php3.2KView Edit Del
media-upload.php3.6KView Edit Del
media.php819BView Edit Del
menu-header.php9.8KView Edit Del
menu.php17.7KView Edit Del
moderation.php307BView Edit Del
ms-admin.php196BView Edit Del
ms-delete-site.php4.5KView Edit Del
ms-edit.php216BView Edit Del
ms-options.php229BView Edit Del
ms-sites.php215BView Edit Del
ms-themes.php217BView Edit Del
ms-upgrade-network.php219BView Edit Del
ms-users.php215BView Edit Del
my-sites.php4.7KView Edit Del
nav-menus.php49.1KView Edit Del
network/--
network.php5.4KView Edit Del
options-connectors.php1.1KView Edit Del
options-discussion.php15.9KView Edit Del
options-general.php22.3KView Edit Del
options-head.php621BView Edit Del
options-media.php6.4KView Edit Del
options-permalink.php21.9KView Edit Del
options-privacy.php9.9KView Edit Del
options-reading.php10KView Edit Del
options-writing.php9.1KView Edit Del
options.php13.9KView Edit Del
plugin-editor.php13.8KView Edit Del
plugin-install.php7KView Edit Del
plugins.php30KView Edit Del
post-new.php2.7KView Edit Del
post.php10KView Edit Del
press-this.php2.4KView Edit Del
privacy-policy-guide.php3.7KView Edit Del
privacy.php2.8KView Edit Del
profile.php283BView Edit Del
revision.php5.7KView Edit Del
setup-config.php17.5KView Edit Del
site-editor.php12.1KView Edit Del
site-health-info.php4.1KView Edit Del
site-health.php10.2KView Edit Del
term.php2.2KView Edit Del
theme-editor.php16.9KView Edit Del
theme-install.php23.6KView Edit Del
themes.php47.9KView Edit Del
tools.php3.4KView Edit Del
update-core.php45.1KView Edit Del
update.php12.8KView Edit Del
upgrade-functions.php341BView Edit Del
upgrade.php6.2KView Edit Del
upload.php14.9KView Edit Del
user/--
user-edit.php40.4KView Edit Del
user-new.php24.1KView Edit Del
users.php23.4KView Edit Del
widgets-form-blocks.php5.1KView Edit Del
widgets-form.php19.1KView Edit Del
widgets.php1.1KView Edit Del