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