| Server IP : 213.132.222.41 / Your IP : 216.73.216.254 Web Server : Apache System : Linux plesk4.nlhosting.net 6.1.0-0.deb11.50-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1~deb11u1 (2026-07-02) x86_64 User : thecovenant ( 10927) PHP Version : 8.3.32 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/thecovenant.nl/httpdocs/wp-content/plugins/webp-uploads/ |
Upload File : |
<?php
/**
* Plugin Name: Modern Image Formats
* Plugin URI: https://github.com/WordPress/performance/tree/trunk/plugins/webp-uploads
* Description: Converts images to more modern formats such as WebP or AVIF during upload.
* Requires at least: 6.6
* Requires PHP: 7.2
* Version: 2.5.1
* Author: WordPress Performance Team
* Author URI: https://make.wordpress.org/performance/
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* Text Domain: webp-uploads
*
* @package webp-uploads
*/
// @codeCoverageIgnoreStart
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
// @codeCoverageIgnoreEnd
// Define required constants.
if ( defined( 'WEBP_UPLOADS_VERSION' ) ) {
return;
}
define( 'WEBP_UPLOADS_VERSION', '2.5.1' );
define( 'WEBP_UPLOADS_MAIN_FILE', plugin_basename( __FILE__ ) );
require_once __DIR__ . '/helper.php';
require_once __DIR__ . '/rest-api.php';
require_once __DIR__ . '/image-edit.php';
require_once __DIR__ . '/settings.php';
require_once __DIR__ . '/picture-element.php';
require_once __DIR__ . '/hooks.php';
require_once __DIR__ . '/deprecated.php';