PluginProbe
Image Optimizer – Compress Images and Convert to WebP or AVIF / trunk
Image Optimizer – Compress Images and Convert to WebP or AVIF vtrunk
1.7.7 1.7.6 1.7.5 1.7.4 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 All 33 releases
← All changes | vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_Schema.php +10 -4 1.5.4 → trunk View file →
@@ -12,19 +12,25 @@
12 12 */
13 13 abstract class ActionScheduler_Abstract_Schema {
14 14
15 15 /**
16 - * @var int Increment this value in derived class to trigger a schema update.
16 + * Increment this value in derived class to trigger a schema update.
17 + *
18 + * @var int
17 19 */
18 20 protected $schema_version = 1;
19 21
20 22 /**
21 - * @var string Schema version stored in database.
23 + * Schema version stored in database.
24 + *
25 + * @var string
22 26 */
23 27 protected $db_version;
24 28
25 29 /**
26 - * @var array Names of tables that will be registered by this class.
30 + * Names of tables that will be registered by this class.
31 + *
32 + * @var array
27 33 */
28 34 protected $tables = array();
29 35
30 36 /**
@@ -136,9 +142,9 @@
136 142 if ( $definition ) {
137 143 $updated = dbDelta( $definition );
138 144 foreach ( $updated as $updated_table => $update_description ) {
139 145 if ( strpos( $update_description, 'Created table' ) === 0 ) {
140 - do_action( 'action_scheduler/created_table', $updated_table, $table );
146 + do_action( 'action_scheduler/created_table', $updated_table, $table ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
141 147 }
142 148 }
143 149 }
144 150 }