Submit
Path:
F:
/
Inetpub
/
vhosts
/
solasmarine.com.tr
/
httpdocs
/
wp-admin
/
File Content:
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 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';
Edit
Rename
Chmod
Delete
FILE
DIR
INFO
CMD
Name
Size
Permission
Action
css
---
0777
images
---
0777
includes
---
0777
js
---
0777
maint
---
0777
network
---
0777
user
---
0777
about.php
16401bytes
0666
admin-ajax.php
5146bytes
0666
admin-footer.php
2811bytes
0666
admin-functions.php
479bytes
0666
admin-header.php
9291bytes
0666
admin-post.php
2021bytes
0666
admin.php
12935bytes
0666
async-upload.php
5604bytes
0666
authorize-application.php
10335bytes
0666
comment.php
11643bytes
0666
contribute.php
5998bytes
0666
credits.php
4483bytes
0666
custom-background.php
489bytes
0666
custom-header.php
499bytes
0666
customize.php
11476bytes
0666
edit-comments.php
14484bytes
0666
edit-form-advanced.php
29486bytes
0666
edit-form-blocks.php
15084bytes
0666
edit-form-comment.php
8533bytes
0666
edit-link-form.php
6354bytes
0666
edit-tag-form.php
10665bytes
0666
edit-tags.php
22510bytes
0666
edit.php
19952bytes
0666
erase-personal-data.php
7505bytes
0666
export-personal-data.php
7941bytes
0666
export.php
11265bytes
0666
font-library.php
1036bytes
0666
freedoms.php
4916bytes
0666
import.php
7766bytes
0666
index.php
7864bytes
0666
install-helper.php
6961bytes
0666
link-add.php
934bytes
0666
link-manager.php
4361bytes
0666
link-parse-opml.php
2698bytes
0666
link.php
2957bytes
0666
load-scripts.php
2070bytes
0666
load-styles.php
2995bytes
0666
media-new.php
3249bytes
0666
media-upload.php
3668bytes
0666
media.php
819bytes
0666
menu-header.php
10059bytes
0666
menu.php
18141bytes
0666
moderation.php
307bytes
0666
ms-admin.php
196bytes
0666
ms-delete-site.php
4613bytes
0666
ms-edit.php
216bytes
0666
ms-options.php
229bytes
0666
ms-sites.php
215bytes
0666
ms-themes.php
217bytes
0666
ms-upgrade-network.php
219bytes
0666
ms-users.php
215bytes
0666
my-sites.php
4831bytes
0666
nav-menus.php
50251bytes
0666
network.php
5522bytes
0666
options-connectors.php
1096bytes
0666
options-discussion.php
16297bytes
0666
options-general.php
22851bytes
0666
options-head.php
621bytes
0666
options-media.php
6530bytes
0666
options-permalink.php
22416bytes
0666
options-privacy.php
10163bytes
0666
options-reading.php
10213bytes
0666
options-writing.php
9323bytes
0666
options.php
14266bytes
0666
plugin-editor.php
14082bytes
0666
plugin-install.php
7124bytes
0666
plugins.php
30724bytes
0666
post-new.php
2768bytes
0666
post.php
10274bytes
0666
press-this.php
2470bytes
0666
privacy-policy-guide.php
3756bytes
0666
privacy.php
2854bytes
0666
profile.php
283bytes
0666
revision.php
5836bytes
0666
setup-config.php
17945bytes
0666
site-editor.php
12362bytes
0666
site-health-info.php
4150bytes
0666
site-health.php
10421bytes
0666
term.php
2249bytes
0666
theme-editor.php
17279bytes
0666
theme-install.php
24117bytes
0666
themes.php
49075bytes
0666
tools.php
3514bytes
0666
update-core.php
46202bytes
0666
update.php
13062bytes
0666
upgrade-functions.php
341bytes
0666
upgrade.php
6390bytes
0666
upload.php
15257bytes
0666
user-edit.php
41319bytes
0666
user-new.php
24639bytes
0666
users.php
24002bytes
0666
widgets-form-blocks.php
5242bytes
0666
widgets-form.php
19595bytes
0666
widgets.php
1112bytes
0666