Done !
| Server IP : 54.36.91.62 / Your IP : 216.73.216.38 Web Server : Apache System : Linux webm008.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : awaywithxm ( 25098) PHP Version : 7.0.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awaywithxm/www/wp-content/plugins/secupress/inc/modules/plugins-themes/settings/ |
Upload File : |
<?php defined( 'ABSPATH' ) or die( 'Cheatin’ uh?' ); $this->set_current_section( 'uploads' ); $this->set_section_description( __( 'WordPress allows by default to add a plugin or theme by simply uploading a zip file. This is not secure since the file could contain any custom PHP code.<br/>By removing this possibility you ensure that plugins could only be added using FTP or via the official WordPress repository.', 'secupress' ) ); $this->add_section( __( 'Uploads Themes & Plugins', 'secupress' ) ); $plugin = $this->get_current_plugin(); $this->add_field( array( /** Translators: %s is a file extension */ 'title' => sprintf( __( 'Disallow %s uploads', 'secupress' ), '<code>.zip</code>' ), 'label_for' => $this->get_field_name( 'activate' ), 'plugin_activation' => true, 'type' => 'checkbox', 'value' => (int) secupress_is_submodule_active( 'plugins-themes', 'uploads' ), 'label' => __( 'Yes, disable uploads of themes and plugins', 'secupress' ), ) );