Task_12281 (#1)

Co-authored-by: User A0264400 <a0264400@jarl.from.sh>
Reviewed-on: #1
Co-authored-by: Anton.AE <ab.an.ev@yandex.ru>
Co-committed-by: Anton.AE <ab.an.ev@yandex.ru>
This commit is contained in:
2026-07-05 16:07:04 +03:00
committed by Антон
parent 50f3a8e626
commit 3e42863ef5
2878 changed files with 59059 additions and 181273 deletions

View File

@@ -0,0 +1,28 @@
<?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Updates for altering the table used to store statistics data.
* Adds new columns and renames existing ones in order to add support for the new social buttons.
*
*/
class WIOUpdate010802 extends Wbcr_Factory600_Update {
/**
* Handles the installation process for the plugin, including cleanup of
* old options and setting new configurations.
*
* @return void
*/
public function install() {
WRIO_Plugin::app()->deleteOption( 'image_optimize_all_usage' );
WRIO_Plugin::app()->deleteOption( 'image_optimize_flush_usage' );
WRIO_Plugin::app()->updatePopulateOption( 'server_2_quota_limit', 300 );
WRIO_Plugin::app()->logger->info( 'Plugin migration to 1.8.2 was successful!' );
}
}