X7ROOT File Manager
Current Path:
/var/softaculous/sitepad/editor/site-admin
var
/
softaculous
/
sitepad
/
editor
/
site-admin
/
ðŸ“
..
📄
admin-ajax.php
(4.32 KB)
📄
admin-footer.php
(2.3 KB)
📄
admin-header.php
(13.74 KB)
📄
admin-post.php
(1.66 KB)
📄
admin.php
(11.1 KB)
📄
async-upload.php
(3.63 KB)
📄
comment.php
(10.66 KB)
📄
cookie-consent.php
(17.06 KB)
ðŸ“
css
📄
custom-background.php
(20.06 KB)
📄
custom-header.php
(46.28 KB)
📄
customize.php
(8.69 KB)
📄
edit-form-advanced.php
(30.63 KB)
📄
edit-form-blocks.php
(12.82 KB)
📄
edit-form-comment.php
(7.32 KB)
📄
edit-tag-form.php
(9.28 KB)
📄
edit-tags.php
(21.41 KB)
📄
edit.php
(21.76 KB)
📄
export.php
(10.69 KB)
📄
features.php
(3.22 KB)
ðŸ“
fonts
📄
google-analytics.php
(2.79 KB)
ðŸ“
images
📄
import.php
(7.28 KB)
ðŸ“
includes
📄
index.php
(12.53 KB)
ðŸ“
js
📄
load-scripts.php
(1.62 KB)
📄
load-styles.php
(2.27 KB)
📄
mailchimp.php
(4.51 KB)
📄
media-new.php
(3.12 KB)
📄
media-upload.php
(3.3 KB)
📄
media.php
(5.54 KB)
📄
menu-header.php
(7.63 KB)
📄
menu.php
(9.83 KB)
📄
nav-menus.php
(38.34 KB)
📄
options-discussion.php
(14.83 KB)
📄
options-general.php
(15.83 KB)
📄
options-head.php
(492 B)
📄
options-media.php
(6.05 KB)
📄
options-permalink.php
(9.34 KB)
📄
options-reading.php
(9.05 KB)
📄
options.php
(11.6 KB)
📄
plans.php
(9.21 KB)
📄
post-new.php
(3.56 KB)
📄
post.php
(10.65 KB)
📄
privacy.php
(6.81 KB)
📄
profile.php
(298 B)
📄
revision.php
(5.06 KB)
📄
seo.php
(3.98 KB)
📄
setup.php
(22.96 KB)
📄
sitemap.php
(7.88 KB)
📄
smtp-mail.php
(12.7 KB)
📄
term.php
(2.07 KB)
📄
themes.php
(20.72 KB)
📄
themes_setup.php
(18.26 KB)
📄
upload.php
(13.46 KB)
📄
user-edit.php
(21.36 KB)
📄
user-new.php
(21.56 KB)
📄
users.php
(18.62 KB)
Editing: media-upload.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 */ if ( ! isset( $_GET['inline'] ) ) { define( 'IFRAME_REQUEST', true ); } /** Load WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'upload_files' ) ) { wp_die( __( 'Sorry, you are not allowed to upload files.' ), 403 ); } wp_enqueue_script( 'plupload-handlers' ); wp_enqueue_script( 'image-edit' ); wp_enqueue_script( 'set-post-thumbnail' ); wp_enqueue_style( 'imgareaselect' ); wp_enqueue_script( 'media-gallery' ); @header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); // IDs should be integers $ID = isset( $ID ) ? (int) $ID : 0; $post_id = isset( $post_id ) ? (int) $post_id : 0; // Require an ID for the edit screen. if ( isset( $action ) && $action == 'edit' && ! $ID ) { wp_die( '<h1>' . __( 'Something went wrong.' ) . '</h1>' . '<p>' . __( 'Invalid item ID.' ) . '</p>', 403 ); } if ( ! empty( $_REQUEST['post_id'] ) && ! current_user_can( 'edit_post', $_REQUEST['post_id'] ) ) { wp_die( '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . '<p>' . __( 'Sorry, you are not allowed to edit this item.' ) . '</p>', 403 ); } // Upload type: image, video, file, ..? if ( isset( $_GET['type'] ) ) { $type = strval( $_GET['type'] ); } else { /** * Filters the default media upload type in the legacy (pre-3.5.0) media popup. * * @since 2.5.0 * * @param string $type The default media upload type. Possible values include * 'image', 'audio', 'video', 'file', etc. Default 'file'. */ $type = apply_filters( 'media_upload_default_type', 'file' ); } // Tab: gallery, library, or type-specific. if ( isset( $_GET['tab'] ) ) { $tab = strval( $_GET['tab'] ); } else { /** * Filters the default tab in the legacy (pre-3.5.0) media popup. * * @since 2.5.0 * * @param string $type The default media popup tab. Default 'type' (From Computer). */ $tab = apply_filters( 'media_upload_default_tab', 'type' ); } $body_id = 'media-upload'; // Let the action code decide how to handle the request. if ( $tab == 'type' || $tab == 'type_url' || ! array_key_exists( $tab, media_upload_tabs() ) ) { /** * Fires inside specific upload-type views in the legacy (pre-3.5.0) * media popup based on the current tab. * * The dynamic portion of the hook name, `$type`, refers to the specific * media upload type. Possible values include 'image', 'audio', 'video', * 'file', etc. * * The hook only fires if the current `$tab` is 'type' (From Computer), * 'type_url' (From URL), or, if the tab does not exist (i.e., has not * been registered via the {@see 'media_upload_tabs'} filter. * * @since 2.5.0 */ do_action( "media_upload_{$type}" ); } else { /** * Fires inside limited and specific upload-tab views in the legacy * (pre-3.5.0) media popup. * * The dynamic portion of the hook name, `$tab`, refers to the specific * media upload tab. Possible values include 'library' (Media Library), * or any custom tab registered via the {@see 'media_upload_tabs'} filter. * * @since 2.5.0 */ do_action( "media_upload_{$tab}" ); }
Upload File
Create Folder