| Server IP : 172.173.179.141 / Your IP : 216.73.216.196 Web Server : Apache System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/bamagocr/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.6.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.6.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';