X7ROOT File Manager
Current Path:
/home/freights/old.freightsoko.co.ke/wp-admin
home
/
freights
/
old.freightsoko.co.ke
/
wp-admin
/
??
..
??
.htaccess
(112 B)
??
about.php
(13.65 KB)
??
admin-ajax.php
(4.83 KB)
??
admin-footer.php
(2.76 KB)
??
admin-functions.php
(406 B)
??
admin-header.php
(8.2 KB)
??
admin-post.php
(1.63 KB)
??
admin.php
(11.85 KB)
??
app_102
??
app_152
??
app_227
??
async-upload.php
(4.58 KB)
??
authorize-application.php
(9.62 KB)
??
comment.php
(0 B)
??
credits.php
(3.55 KB)
??
css
??
custom-background.php
(416 B)
??
custom-header.php
(426 B)
??
customize.php
(10.48 KB)
??
edit-comments.php
(13.64 KB)
??
edit-form-advanced.php
(28.29 KB)
??
edit-form-blocks.php
(10.39 KB)
??
edit-form-comment.php
(7.97 KB)
??
edit-link-form.php
(6.15 KB)
??
edit-tag-form.php
(10.41 KB)
??
edit-tags.php
(21.93 KB)
??
edit.php
(18.77 KB)
??
erase-personal-data.php
(7.11 KB)
??
error_log
(221.07 KB)
??
export-personal-data.php
(7.08 KB)
??
export.php
(10.72 KB)
??
freedoms.php
(4.65 KB)
??
images
??
import.php
(7.35 KB)
??
includes
??
index.php
(7 KB)
??
install-helper.php
(5.89 KB)
??
js
??
link-add.php
(711 B)
??
link-manager.php
(4.12 KB)
??
link-parse-opml.php
(2.59 KB)
??
link.php
(2.67 KB)
??
load-scripts.php
(1.65 KB)
??
load-styles.php
(2.4 KB)
??
maint
??
media-new.php
(3.13 KB)
??
media-upload.php
(3.49 KB)
??
media.php
(5.47 KB)
??
menu-header.php
(9.68 KB)
??
menu.php
(14.6 KB)
??
moderation.php
(307 B)
??
ms-admin.php
(196 B)
??
ms-delete-site.php
(4.15 KB)
??
ms-edit.php
(216 B)
??
ms-options.php
(223 B)
??
ms-sites.php
(215 B)
??
ms-themes.php
(217 B)
??
ms-upgrade-network.php
(219 B)
??
ms-users.php
(215 B)
??
my-sites.php
(4.53 KB)
??
nav-menus.php
(46.57 KB)
??
network
??
network.php
(5.25 KB)
??
options-general.php
(14.63 KB)
??
options-head.php
(492 B)
??
options-media.php
(6.15 KB)
??
options-permalink.php
(19.19 KB)
??
options-privacy.php
(9.1 KB)
??
options-reading.php
(9.63 KB)
??
options-writing.php
(8.46 KB)
??
options.php
(12.47 KB)
??
plugin-install.php
(6.21 KB)
??
plugins.php
(28.5 KB)
??
post-new.php
(2.64 KB)
??
post.php
(9.87 KB)
??
press-this.php
(2.33 KB)
??
privacy-policy-guide.php
(3.51 KB)
??
privacy.php
(2.39 KB)
??
profile.php
(283 B)
??
revision.php
(5.4 KB)
??
setup-config.php
(16.61 KB)
??
site-health-info.php
(3.88 KB)
??
site-health.php
(8.51 KB)
??
term.php
(2.2 KB)
??
theme-install.php
(21.68 KB)
??
themes.php
(44.81 KB)
??
tools.php
(3.38 KB)
??
update-core.php
(43.45 KB)
??
update.php
(12.23 KB)
??
upgrade-functions.php
(341 B)
??
upgrade.php
(5.47 KB)
??
upload.php
(13.7 KB)
??
user-edit.php
(33.45 KB)
??
user-new.php
(23.41 KB)
??
users.php
(21 KB)
??
widgets-form-blocks.php
(2.35 KB)
??
widgets-form.php
(18.94 KB)
??
widgets.php
(1.06 KB)
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'; $wp_press_this = new WP_Press_This_Plugin(); $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 ), __( 'Install Now' ) ); } 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();
Upload File
Create Folder