PluginProbe ʕ •ᴥ•ʔ
Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF / 2.0.6
Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF v2.0.6
2.0.6 2.0.5 trunk 1.3.7 1.4.0 1.4.1 1.4.2 1.4.6 1.5.0 1.5.3 1.5.6 1.5.8 1.6.5 1.6.6 1.6.9 1.7.0 1.7.4 1.8.1 1.8.2 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4
robin-image-optimizer / migrations / 010803.php
robin-image-optimizer / migrations Last commit date
010009.php 7 months ago 010300.php 7 months ago 010306.php 7 months ago 010309.php 7 months ago 010402.php 7 months ago 010501.php 3 months ago 010802.php 7 months ago 010803.php 3 months ago index.php 3 years ago
010803.php
28 lines
1 <?php
2 // Exit if accessed directly
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6
7 /**
8 * Updates for altering the table used to store statistics data.
9 * Adds new columns and renames existing ones in order to add support for the new social buttons.
10 *
11 */
12 class WIOUpdate010803 extends Wbcr_Factory600_Update {
13
14 /**
15 * Handles the installation process for the plugin, including cleanup of
16 * old options and setting new configurations.
17 *
18 * @return void
19 */
20 public function install() {
21
22 WRIO_Plugin::app()->updatePopulateOption( 'image_optimization_server', 'server_2' );
23 WRIO_Plugin::app()->updatePopulateOption( 'server_2_quota_limit', 1000 );
24
25 WRIO_Plugin::app()->logger->info( 'Plugin migration to 1.8.3 was successful!' );
26 }
27 }
28