[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
presto-player
/
inc
/
Database
/
Upgrades
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 BunnyWebhookUpgrade.php
2,694 B
SET
[ EDIT ]
|
[ DEL ]
📄 PerformanceUpgrade.php
590 B
SET
[ EDIT ]
|
[ DEL ]
📄 TransientsUpgrade.php
1,599 B
SET
[ EDIT ]
|
[ DEL ]
📄 Upgrades.php
274 B
SET
[ EDIT ]
|
[ DEL ]
📄 VisitsUpgrade.php
1,393 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: PerformanceUpgrade.php
<?php namespace PrestoPlayer\Database\Upgrades; use PrestoPlayer\Models\Setting; class PerformanceUpgrade { protected $name = 'presto_player_pro_update_performance'; public function migrate() { if ( get_option( $this->name, false ) ) { return; } // plugin has not yet been installed, default to off if ( ! get_option( 'presto_player_visits_database_version', 0 ) ) { update_option( $this->name, true, 'no' ); return; } // turn on setting if not yet set Setting::set( 'performance', 'module_enabled', true ); update_option( $this->name, true, 'no' ); } }