Logo
Explore Help
Register Sign In
CloudHost/WebP-eXpress
1
0
Fork 0
You've already forked WebP-eXpress
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
WebP-eXpress/lib/classes/OptionsPage.php

21 lines
346 B
PHP
Raw Permalink Normal View History

WebP Express CloudHost.es Fix v0.25.9-cloudhost ✅ Fixed bulk conversion getting stuck on missing files ✅ Added robust error handling and timeout protection ✅ Improved JavaScript response parsing ✅ Added file existence validation ✅ Fixed missing PHP class imports ✅ Added comprehensive try-catch error recovery 🔧 Key fixes: - File existence checks before conversion attempts - 30-second timeout protection per file - Graceful handling of 500 errors and JSON parsing issues - Automatic continuation to next file on failures - Cache busting for JavaScript updates 🎯 Result: Bulk conversion now completes successfully even with missing files 🚀 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-23 10:22:32 +02:00
<?php
namespace WebPExpress;
/**
*
*/
class OptionsPage
{
// callback (registred in AdminUi)
public static function display() {
include WEBPEXPRESS_PLUGIN_DIR . '/lib/options/page.php';
}
public static function enqueueScripts() {
include WEBPEXPRESS_PLUGIN_DIR . '/lib/options/enqueue_scripts.php';
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.6 Page: 160ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API