/
home
/
techb158
/
dev.aleamaralawal.com
/
wp-admin
/
/home/techb158/dev.aleamaralawal.com/wp-admin
mkdir
upload
Name
Size
Mode
Actions
css/
-
0755
rm
images/
-
0755
rm
includes/
-
0755
rm
js/
-
0755
rm
maint/
-
0755
rm
network/
-
0755
rm
user/
-
0755
rm
about.php
16485
0644
edit
dl
rm
admin-ajax.php
5146
0644
edit
dl
rm
admin-footer.php
2804
0644
edit
dl
rm
admin-functions.php
472
0644
edit
dl
rm
admin-header.php
9284
0644
edit
dl
rm
admin-post.php
2021
0644
edit
dl
rm
admin.php
12935
0644
edit
dl
rm
async-upload.php
5604
0644
edit
dl
rm
authorize-application.php
10335
0644
edit
dl
rm
comment.php
11643
0644
edit
dl
rm
contribute.php
5656
0644
edit
dl
rm
credits.php
4141
0644
edit
dl
rm
custom-background.php
482
0644
edit
dl
rm
custom-header.php
492
0644
edit
dl
rm
customize.php
11586
0644
edit
dl
rm
edit-comments.php
14484
0644
edit
dl
rm
edit-form-advanced.php
29481
0644
edit
dl
rm
edit-form-blocks.php
15528
0644
edit
dl
rm
edit-form-comment.php
13980
0644
edit
dl
rm
edit-link-form.php
6347
0644
edit
dl
rm
edit-tag-form.php
10658
0644
edit
dl
rm
edit-tags.php
22510
0644
edit
dl
rm
edit.php
19952
0644
edit
dl
rm
erase-personal-data.php
7505
0644
edit
dl
rm
export-personal-data.php
7940
0644
edit
dl
rm
export.php
11265
0644
edit
dl
rm
font-library.php
1480
0644
edit
dl
rm
freedoms.php
4574
0644
edit
dl
rm
import.php
7766
0644
edit
dl
rm
index.php
7864
0644
edit
dl
rm
install-helper.php
6961
0644
edit
dl
rm
install.php
18375
0644
edit
dl
rm
link-add.php
934
0644
edit
dl
rm
link-manager.php
4361
0644
edit
dl
rm
link-parse-opml.php
2721
0644
edit
dl
rm
link.php
2957
0644
edit
dl
rm
load-scripts.php
2070
0644
edit
dl
rm
load-styles.php
2995
0644
edit
dl
rm
media-new.php
3249
0644
edit
dl
rm
media-upload.php
3668
0644
edit
dl
rm
media.php
819
0644
edit
dl
rm
menu-header.php
10052
0644
edit
dl
rm
menu.php
18134
0644
edit
dl
rm
moderation.php
307
0644
edit
dl
rm
ms-admin.php
196
0644
edit
dl
rm
ms-delete-site.php
4613
0644
edit
dl
rm
ms-edit.php
216
0644
edit
dl
rm
ms-options.php
229
0644
edit
dl
rm
ms-sites.php
215
0644
edit
dl
rm
ms-themes.php
217
0644
edit
dl
rm
ms-upgrade-network.php
219
0644
edit
dl
rm
ms-users.php
215
0644
edit
dl
rm
my-sites.php
4831
0644
edit
dl
rm
nav-menus.php
50199
0644
edit
dl
rm
network.php
5523
0644
edit
dl
rm
options-connectors.php
1543
0644
edit
dl
rm
options-discussion.php
16403
0644
edit
dl
rm
options-general.php
22855
0644
edit
dl
rm
options-head.php
614
0644
edit
dl
rm
options-media.php
6640
0644
edit
dl
rm
options-permalink.php
22491
0644
edit
dl
rm
options-privacy.php
10704
0644
edit
dl
rm
options-reading.php
10198
0644
edit
dl
rm
options-writing.php
9404
0644
edit
dl
rm
options.php
14266
0644
edit
dl
rm
plugin-editor.php
14071
0644
edit
dl
rm
plugin-install.php
7433
0644
edit
dl
rm
plugins.php
30744
0644
edit
dl
rm
post-new.php
2768
0644
edit
dl
rm
post.php
10821
0644
edit
dl
rm
press-this.php
2470
0644
edit
dl
rm
privacy-policy-guide.php
3756
0644
edit
dl
rm
privacy.php
2512
0644
edit
dl
rm
profile.php
283
0644
edit
dl
rm
revision.php
5836
0644
edit
dl
rm
setup-config.php
17928
0644
edit
dl
rm
site-editor.php
12483
0644
edit
dl
rm
site-health-info.php
4173
0644
edit
dl
rm
site-health.php
10427
0644
edit
dl
rm
term.php
2249
0644
edit
dl
rm
theme-editor.php
17279
0644
edit
dl
rm
theme-install.php
24315
0644
edit
dl
rm
themes.php
49728
0644
edit
dl
rm
tools.php
3514
0644
edit
dl
rm
update-core.php
46202
0644
edit
dl
rm
update.php
13062
0644
edit
dl
rm
upgrade-functions.php
341
0644
edit
dl
rm
upgrade.php
6390
0644
edit
dl
rm
upload.php
15292
0644
edit
dl
rm
user-edit.php
41844
0644
edit
dl
rm
user-new.php
24664
0644
edit
dl
rm
users.php
25698
0644
edit
dl
rm
widgets-form-blocks.php
5235
0644
edit
dl
rm
widgets-form.php
19588
0644
edit
dl
rm
widgets.php
1112
0644
edit
dl
rm
Edit:
/home/techb158/dev.aleamaralawal.com/wp-admin/media-new.php
(3249B)
<?php /** * Manage media uploaded file. * * There are many filters in here for media. Plugins can extend functionality * by hooking into the filters. * * @package WordPress * @subpackage Administration */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; if ( ! current_user_can( 'upload_files' ) ) { wp_die( __( 'Sorry, you are not allowed to upload files.' ) ); } wp_enqueue_script( 'plupload-handlers' ); $post_id = 0; if ( isset( $_REQUEST['post_id'] ) ) { $post_id = absint( $_REQUEST['post_id'] ); if ( ! get_post( $post_id ) || ! current_user_can( 'edit_post', $post_id ) ) { $post_id = 0; } } if ( $_POST ) { if ( isset( $_POST['html-upload'] ) && ! empty( $_FILES ) ) { check_admin_referer( 'media-form' ); // Upload File button was clicked. $upload_id = media_handle_upload( 'async-upload', $post_id ); if ( is_wp_error( $upload_id ) ) { wp_die( $upload_id ); } } wp_redirect( admin_url( 'upload.php' ) ); exit; } // Used in the HTML title tag. $title = __( 'Upload Media' ); $parent_file = 'upload.php'; get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __( 'Overview' ), 'content' => '<p>' . __( 'You can upload media files here without creating a post first. This allows you to upload files to use with posts and pages later and/or to get a web link for a particular file that you can share. There are three options for uploading files:' ) . '</p>' . '<ul>' . '<li>' . __( '<strong>Drag and drop</strong> your files into the area below. Multiple files are allowed.' ) . '</li>' . '<li>' . __( 'Clicking <strong>Select Files</strong> opens a navigation window showing you files in your operating system. Selecting <strong>Open</strong> after clicking on the file you want activates a progress bar on the uploader screen.' ) . '</li>' . '<li>' . __( 'Revert to the <strong>Browser Uploader</strong> by clicking the link below the drag and drop box.' ) . '</li>' . '</ul>', ) ); get_current_screen()->set_help_sidebar( '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/media-add-new-screen/">Documentation on Uploading Media Files</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>' ); require_once ABSPATH . 'wp-admin/admin-header.php'; $form_class = 'wp-upload-form media-upload-form type-form validate'; if ( get_user_setting( 'uploader' ) || isset( $_GET['browser-uploader'] ) ) { $form_class .= ' html-uploader'; } ?> <div class="wrap"> <h1><?php echo esc_html( $title ); ?></h1> <form enctype="multipart/form-data" method="post" action="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="<?php echo esc_attr( $form_class ); ?>" id="file-form"> <?php media_upload_form(); ?> <script> var post_id = <?php echo absint( $post_id ); ?>, shortform = 3; </script> <input type="hidden" name="post_id" id="post_id" value="<?php echo absint( $post_id ); ?>" /> <?php wp_nonce_field( 'media-form' ); ?> <div id="media-items" class="hide-if-no-js"></div> </form> </div> <?php require_once ABSPATH . 'wp-admin/admin-footer.php';
Save
cmd:
run