HEX
Server: Apache
System: Linux cpanel2.adamant.ua 3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14 21:49:04 UTC 2018 x86_64
User: artistss (1300)
PHP: 7.2.34
Disabled: dl,exec,passthru,pcntl_exec,posix_kill,posix_mkfifo,posix_setuid,proc_close,proc_terminate,shell_exec,system,ftp_exec,leak,posix_setpgid,posix_setsid,proc_get_status,proc_nice,show_source,set_time_limit,openlog,syslog,closelog,exec,passthru,system,shell_exec
Upload Files
File: /home/artistss/psychotherapist-tyshchenko.com.ua/wp-admin/media.php
<?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_redirect( admin_url( 'upload.php?error=deprecated' ) );
			exit;
		}
		$att_id = (int) $_GET['attachment_id'];

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

	default:
		wp_redirect( admin_url( 'upload.php?error=deprecated' ) );
		exit;
}